Unset D_FORTIFY_SOURCE globally

This commit is contained in:
Jeff Epler 2023-11-28 08:21:02 -06:00
parent 28c2094b8d
commit a14eb26d4b
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@ BASE_CFLAGS = \
# -ftime-report
# -H
# Micropython's implementation of <string.h> rutines 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.
# Don't just call it "DEBUG": too many libraries use plain DEBUG.