aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/Makefile')
-rw-r--r--sysdeps/wordsize-64/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/Makefile b/sysdeps/wordsize-64/Makefile
index 2fa9347..db7764f 100644
--- a/sysdeps/wordsize-64/Makefile
+++ b/sysdeps/wordsize-64/Makefile
@@ -1,3 +1,8 @@
ifeq ($(subdir),misc)
tests += tst-writev
endif
+
+# strtol is aliased to stroll
+CFLAGS-strtol.c += -fno-builtin-strtoll $(config-cflags-wno-ignored-attributes)
+# strtoul is aliased to strtoull
+CFLAGS-strtoul.c += -fno-builtin-strtoull $(config-cflags-wno-ignored-attributes)