diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-28 13:10:32 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-28 13:10:32 +0000 |
commit | 75d013b16a0764bf393628d241f05729a81d9b8d (patch) | |
tree | 8bdf9f4e01c06afc2536a30ebe48e034a7da85e7 /Rules.mak | |
parent | 03f7612acc323011a680c64d613badc62017d3fa (diff) |
Fix the bug where binaries built with older toolchains would
segfault. Turns out that 'ld -nostdlib' was the culprit.
Who wouldof thought...
-Erik
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,11 +88,11 @@ NATIVE_CFLAGS=-O2 -Wall ifeq ($(strip $(DODEBUG)),true) CFLAGS += -g - LDFLAGS = -shared -nostdlib --warn-common --warn-once -z combreloc + LDFLAGS = -shared --warn-common --warn-once -z combreloc STRIPTOOL = /bin/true -Since_we_are_debugging else CFLAGS += -DNDEBUG #-fomit-frame-pointer - LDFLAGS = -s -shared -nostdlib --warn-common --warn-once -z combreloc + LDFLAGS = -s -shared --warn-common --warn-once -z combreloc endif ifeq ($(strip $(HAVE_SHARED)),true) |