summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-28 13:10:32 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-28 13:10:32 +0000
commit75d013b16a0764bf393628d241f05729a81d9b8d (patch)
tree8bdf9f4e01c06afc2536a30ebe48e034a7da85e7 /Rules.mak
parent03f7612acc323011a680c64d613badc62017d3fa (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.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 68beb93b5..df86af700 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -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)