Merge pull request #8663 from jepler/disable-fortify-source
Unset D_FORTIFY_SOURCE globally
This commit is contained in:
commit
ad0949dcf5
@ -58,6 +58,10 @@ BASE_CFLAGS = \
|
|||||||
# -ftime-report
|
# -ftime-report
|
||||||
# -H
|
# -H
|
||||||
|
|
||||||
|
# Micropython's implementation of <string.h> routines is incompatible with
|
||||||
|
# "fortify source", enabled by default on gentoo's crossdev arm-none-eabi-gcc
|
||||||
|
# gcc version 12.3.1 20230526 (Gentoo 12.3.1_p20230526 p2). Unconditionally disable it.
|
||||||
|
BASE_CFLAGS += -U_FORTIFY_SOURCE
|
||||||
|
|
||||||
# Set a global CIRCUITPY_DEBUG flag.
|
# Set a global CIRCUITPY_DEBUG flag.
|
||||||
# Don't just call it "DEBUG": too many libraries use plain DEBUG.
|
# Don't just call it "DEBUG": too many libraries use plain DEBUG.
|
||||||
|
Loading…
Reference in New Issue
Block a user