From 75d013b16a0764bf393628d241f05729a81d9b8d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 28 Jan 2002 13:10:32 +0000 Subject: Fix the bug where binaries built with older toolchains would segfault. Turns out that 'ld -nostdlib' was the culprit. Who wouldof thought... -Erik --- Rules.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rules.mak') 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) -- cgit v1.2.3