summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 4d6309717..bda4e1853 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -383,6 +383,7 @@ else
SSP_CFLAGS := $(SSP_DISABLE_FLAGS)
endif
+NOSTDLIB_CFLAGS:=$(call check_gcc,-nostdlib,)
# Some nice CFLAGS to work with
CFLAGS := -include $(top_builddir)include/libc-symbols.h \
$(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \