From 98521f61f3d4d3f33581ad0fc2b0792539bf577e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 11 Dec 2004 12:28:51 +0000 Subject: That last patch had some garbage in it... PIC != PIE --- ldso/ldso/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index 2d2abeeb6..7822d4c4f 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -37,14 +37,7 @@ XXFLAGS+= $(XARCH_CFLAGS) $(CPU_CFLAGS) $(PICFLAG) \ -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)ldso/include -I. -I$(TOPDIR)include # BEWARE!!! At least mips* will die if -O0 is used!!! -XXFLAGS :=$(XXFLAGS:-O0=-O1) - -ifeq ($(PIEFLAG),) -PIEFLAG=-fPIC -endif - -XXFLAGS+=$(PIEFLAG) - +XXFLAGS:=$(XXFLAGS:-O0=-O1) XXFLAGS+=-isystem $(shell $(CC) -print-file-name=include) LDFLAGS=$(CPU_LDFLAGS-y) -z now -Bsymbolic -shared --warn-common --export-dynamic --sort-common \ -z combreloc --discard-locals --discard-all --no-undefined -- cgit v1.2.3