summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-12-11 12:28:51 +0000
committerEric Andersen <andersen@codepoet.org>2004-12-11 12:28:51 +0000
commit98521f61f3d4d3f33581ad0fc2b0792539bf577e (patch)
tree15d4403088a3cc5c6edca4ffa6bf6a29e461b900
parenta56073a28beba540347846a193d25fd61584c2af (diff)
That last patch had some garbage in it... PIC != PIE
-rw-r--r--ldso/ldso/Makefile9
1 files changed, 1 insertions, 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