Merge pull request #8663 from jepler/disable-fortify-source

Unset D_FORTIFY_SOURCE globally
This commit is contained in:
Dan Halbert 2023-11-28 15:55:06 -05:00 committed by GitHub
commit ad0949dcf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.