summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-30 13:03:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-30 13:03:19 +0000
commit75443475a4df552e282cf3471a1d7838bd675294 (patch)
tree87fed06389e09ed705303d50002233499ef84b83 /Rules.mak
parentfd9ddddb9009221c3e374d820b9854109ae825f6 (diff)
Enable -std=c99 if supported, this will define __STDC_VERSION__, have to -D__ASSEMBLER__, bug in all gcc
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 37cf14000..d23e1583b 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -306,7 +306,7 @@ CPU_CFLAGS=$(subst ",, $(strip $(CPU_CFLAGS-y)))
CPU_CFLAGS += -fsigned-char
# only i386 is known to work if compile.S gets -D__ASSEMBLER__
-#CPU_CFLAGS += -std=c99
+CPU_CFLAGS += $(call check_gcc,-std=c99,)
LDADD_LIBFLOAT=
ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)