소스 검색

- poison non-standard keywords:
Make sure that we can be built with non-C99 compilers, too.
Use __\1__ instead.

Bernhard Reutner-Fischer 17 년 전
부모
커밋
21c9dcf8b3
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Rules.mak

+ 3 - 0
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