diff options
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -47,8 +47,8 @@ endif ARFLAGS=r -CCFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D_LIBC -TARGET_CCFLAGS=--uclibc-use-build-dir $(WARNINGS) $(OPTIMIZATION) $(CPUFLAGS) +CCFLAGS=$(WARNINGS) -fno-builtin -nostdinc $(CPUFLAGS) -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D_LIBC +TARGET_CCFLAGS=--uclibc-use-build-dir $(WARNINGS) $(CPUFLAGS) CFLAGS=$(ARCH_CFLAGS) $(CCFLAGS) $(DEFS) $(ARCH_CFLAGS2) TARGET_CC= $(TOPDIR)extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc TARGET_CFLAGS=$(ARCH_CFLAGS) $(TARGET_CCFLAGS) $(DEFS) $(ARCH_CFLAGS2) @@ -60,8 +60,8 @@ ifeq ($(strip $(DODEBUG)),true) TARGET_LDFLAGS = --uclibc-use-build-dir -Wl,-warn-common STRIPTOOL = /bin/true -Since_we_are_debugging else - CFLAGS += -DNDEBUG #-fomit-frame-pointer - TARGET_CFLAGS += -DNDEBUG #-fomit-frame-pointer + CFLAGS += $(OPTIMIZATION) -DNDEBUG #-fomit-frame-pointer + TARGET_CFLAGS += $(OPTIMIZATION) -DNDEBUG #-fomit-frame-pointer LDFLAGS = -s -nostdlib -Wl,-warn-common TARGET_LDFLAGS = --uclibc-use-build-dir -s -Wl,-warn-common endif |