diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-08 05:12:33 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-08 05:12:33 +0000 |
commit | 881e6dca50f78eb006a0ac561992812837642907 (patch) | |
tree | 19a7b77f8414194d0c7402f6a8b93f563461eee1 | |
parent | 67f9c100f48f4e3388996dfef8b870427ace28ab (diff) |
Add CPU_CFLAGS-y into LIBGCC_CFLAGS so multilibs gcc will behave
itself. Revery the "=" to ":=" change, so people like Miles can
set stuff in their .config
-rw-r--r-- | Rules.mak | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -35,15 +35,15 @@ # will build uClibc for 'mipsel'. CROSS= -CC:= $(CROSS)gcc -AR:= $(CROSS)ar -LD:= $(CROSS)ld -NM:= $(CROSS)nm -STRIPTOOL:= $(CROSS)strip +CC= $(CROSS)gcc +AR= $(CROSS)ar +LD= $(CROSS)ld +NM= $(CROSS)nm +STRIPTOOL= $(CROSS)strip # Select the compiler needed to build binaries for your development system -NATIVE_CC:=gcc -NATIVE_CFLAGS:=-O2 -Wall +NATIVE_CC=gcc +NATIVE_CFLAGS=-O2 -Wall #-------------------------------------------------------- @@ -192,7 +192,7 @@ ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y) CFLAGS += $(call check_gcc,-msoft-float,) endif -LIBGCC_CFLAGS ?= $(CFLAGS) +LIBGCC_CFLAGS ?= $(CFLAGS) $(CPU_CFLAGS-y) LIBGCC:=$(shell $(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name) LIBGCC_DIR:=$(dir $(LIBGCC)) |