diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-06-15 19:47:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-06-15 19:47:58 +0000 |
commit | ec4e85f8a3471efaf67032d8b7cedc13d40b1446 (patch) | |
tree | f7a341d1870ecc5f3e3487a37fb55d9efe177c9a /Rules.mak | |
parent | c1ae0ad8262ce40178a54a393bcf466b57ad5819 (diff) |
Be consistant for all the client code, and use TARGET_CC with --uclibc-use-build-dir
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -46,16 +46,23 @@ 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) 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) ifeq ($(strip $(DODEBUG)),true) CFLAGS += -g + TARGET_CFLAGS += -g LDFLAGS = -nostdlib -Wl,-warn-common + TARGET_LDFLAGS = -Wl,-warn-common STRIPTOOL = /bin/true -Since_we_are_debugging else CFLAGS += -DNDEBUG #-fomit-frame-pointer + TARGET_CFLAGS += -DNDEBUG #-fomit-frame-pointer LDFLAGS = -s -nostdlib -Wl,-warn-common + TARGET_LDFLAGS = -s -Wl,-warn-common endif ifndef $(PREFIX) |