diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-12-16 09:13:52 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-12-16 09:13:52 +0100 |
commit | f0a5fcde1d6eac5b1994e70410b09eab6bd99057 (patch) | |
tree | 22ce52b4285ebff42d2d68a7abb4b29529d91558 /Rules.mak | |
parent | 5418c5ea2ab6a8e82421ebbf8060e52b5b1710a7 (diff) |
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 <carmelo.amoroso@st.com>
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |