diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-08-26 17:03:09 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-08-26 17:03:09 +0000 |
commit | 9d7a22d351d45808aa88224367cc1dd30e518705 (patch) | |
tree | e6b4ce1becdbc3b9b849db2c0c784a9be7001e48 /Rules.mak | |
parent | 94a9a5a20973964c88bf91110d587eaef693f522 (diff) |
Fixes from gentoo.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -220,8 +220,13 @@ ifeq ($(strip $(TARGET_ARCH)),arm) endif endif +ifeq ($(SSP_CFLAGS),) +SSP_CFLAGS=$(call check_gcc,-fno-stack-protector-all,) +SSP_CFLAGS+=$(call check_gcc,-fstack-protector,) +endif + # Some nice CFLAGS to work with -CFLAGS=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS) $(CPU_CFLAGS) \ +CFLAGS=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \ -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. ifeq ($(DODEBUG),y) |