From f0a5fcde1d6eac5b1994e70410b09eab6bd99057 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Wed, 16 Dec 2009 09:13:52 +0100 Subject: build: Do not define -DPIC longer through build system Now all code relies upon __PIC__ flag defined by compiler, so it does not need to explicitly define the PIC macro through build system Signed-off-by: Carmelo Amoroso --- Rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index c03faf833..afecb7751 100644 --- a/Rules.mak +++ b/Rules.mak @@ -228,7 +228,7 @@ CPU_CFLAGS-$(UCLIBC_FORMAT_FLAT_SEP_DATA) += -msep-data CPU_LDFLAGS-$(ARCH_LITTLE_ENDIAN) += -Wl,-EL CPU_LDFLAGS-$(ARCH_BIG_ENDIAN) += -Wl,-EB -PICFLAG-y := -fPIC -DPIC +PICFLAG-y := -fPIC PICFLAG-$(UCLIBC_FORMAT_FDPIC_ELF) := -mfdpic PICFLAG := $(PICFLAG-y) PIEFLAG_NAME:=-fPIE -- cgit v1.2.3