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.
2 parents d509267 + b54330a commit ad0949dCopy full SHA for ad0949d
py/circuitpy_defns.mk
@@ -58,6 +58,10 @@ BASE_CFLAGS = \
58
# -ftime-report
59
# -H
60
61
+# Micropython's implementation of <string.h> routines 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