We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c2094 commit a14eb26Copy full SHA for a14eb26
py/circuitpy_defns.mk
@@ -58,6 +58,10 @@ BASE_CFLAGS = \
58
# -ftime-report
59
# -H
60
61
+# Micropython's implementation of <string.h> rutines is incompatible with
62
+# "fortify source", enabled by default on gentoo's crossdev arm-none-eabi-gcc
63
+# gcc version 12.3.1 20230526 (Gentoo 12.3.1_p20230526 p2). Unconditionally disable it.
64
+BASE_CFLAGS += -U_FORTIFY_SOURCE
65
66
# Set a global CIRCUITPY_DEBUG flag.
67
# Don't just call it "DEBUG": too many libraries use plain DEBUG.
0 commit comments