summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-17 16:54:31 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-17 16:54:31 +0000
commit21c9dcf8b345401bdf290f34a144db80753b1b9f (patch)
tree23d76f652e9295b51e6735cf2a4c5a2ed2d69b6e /Rules.mak
parentaf3f2851b94863225c60ebb42a7636b304c467d4 (diff)
- poison non-standard keywords:
Make sure that we can be built with non-C99 compilers, too. Use __\1__ instead.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index de9258ef4..8f89c3155 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -460,6 +460,9 @@ CFLAGS := -include $(top_builddir)include/libc-symbols.h \
-fno-builtin -nostdinc -I$(top_builddir)include -I. \
-I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)
+# Make sure that we can be built with non-C99 compilers, too.
+# Use __\1__ instead.
+CFLAGS += $(call check_gcc,-fno-asm,)
ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"")
CFLAGS += $(subst ",, $(UCLIBC_EXTRA_CFLAGS))
endif