summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-12-21 10:02:42 +0000
committerEric Andersen <andersen@codepoet.org>2001-12-21 10:02:42 +0000
commitcc8008364d4cb269c16b61fb1481dea019cb92c2 (patch)
tree5ac3a7630b550bdc5bae0adc5130a398c9aabf79
parentd033331ead8b1e2cd29e27dbf026d4bca86855d2 (diff)
Miles Bader <miles@lsi.nec.co.jp> noted that I'd broken setting
OPTIMIZATION from the Config file. Revert that. -Erik
-rw-r--r--Rules.mak8
1 files changed, 4 insertions, 4 deletions
diff --git a/Rules.mak b/Rules.mak
index 76b1bc628..374cafef0 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -47,8 +47,8 @@ endif
ARFLAGS=r
-CCFLAGS=$(WARNINGS) -fno-builtin -nostdinc $(CPUFLAGS) -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D_LIBC
-TARGET_CCFLAGS=--uclibc-use-build-dir $(WARNINGS) $(CPUFLAGS)
+CCFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D_LIBC
+TARGET_CCFLAGS=--uclibc-use-build-dir $(WARNINGS) $(OPTIMIZATION) $(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 += $(OPTIMIZATION) -DNDEBUG #-fomit-frame-pointer
- TARGET_CFLAGS += $(OPTIMIZATION) -DNDEBUG #-fomit-frame-pointer
+ CFLAGS += -DNDEBUG #-fomit-frame-pointer
+ TARGET_CFLAGS += -DNDEBUG #-fomit-frame-pointer
LDFLAGS = -s -nostdlib -Wl,-warn-common
TARGET_LDFLAGS = --uclibc-use-build-dir -s -Wl,-warn-common
endif