diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-11 13:27:37 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-11 13:27:37 +0000 |
commit | 6a461519b91a521a98e0be1bf272bcdac48c6f7e (patch) | |
tree | e59f02dba9eaf3bb7bcb86444c2765b10e0a9450 /Rules.mak | |
parent | 072938a98d1f5d454476c218a253daddfa59e2dc (diff) |
Scrub the way libraries are linked. Use ld, not gcc, to avoid
chicken-and-egg problems when building gcc toolchains.
-Erik
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -80,13 +80,13 @@ NATIVE_CFLAGS=-O2 -Wall ifeq ($(strip $(DODEBUG)),true) CFLAGS += -g TARGET_CFLAGS += -g - LDFLAGS = -nostdlib -Wl,-warn-common + LDFLAGS = -shared -nostdlib --warn-common --warn-once -z combreloc 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 - LDFLAGS = -s -nostdlib -Wl,-warn-common + LDFLAGS = -s -shared -nostdlib --warn-common --warn-once -z combreloc TARGET_LDFLAGS = --uclibc-use-build-dir -s -Wl,-warn-common endif ifeq ($(strip $(DOPIC)),true) |