summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-14 15:51:57 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-14 15:51:57 +0000
commitff1aa7ce9021d00e53fd647b30878f59278ecf94 (patch)
tree5c042f2c8d09de0a494f664346bb2ddaa2e94f4c /Rules.mak
parentd23c49221a13a57ba041ec6091ab510a912b8105 (diff)
- make sure not to have relocs in Scrt1.o (Peter S. Mazinger)
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak8
1 files changed, 0 insertions, 8 deletions
diff --git a/Rules.mak b/Rules.mak
index 481b35e24..847d04c89 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -423,22 +423,14 @@ endif
# Keep the check_gcc from being needlessly executed
ifndef PIEFLAG
-ifneq ($(UCLIBC_BUILD_PIE),y)
-export PIEFLAG:=
-else
export PIEFLAG:=$(call check_gcc,$(PIEFLAG_NAME),$(PICFLAG))
endif
-endif
# We need to keep track of both the CC PIE flag (above) as
# well as the LD PIE flag (below) because we can't rely on
# gcc passing -pie if we used -fPIE
ifndef LDPIEFLAG
-ifneq ($(UCLIBC_BUILD_PIE),y)
-export LDPIEFLAG:=
-else
export LDPIEFLAG:=$(shell $(LD) --help 2>/dev/null | grep -q -- -pie && echo "-Wl,-pie")
endif
-endif
# Check for AS_NEEDED support in linker script (binutils>=2.16.1 has it)
ifndef ASNEEDED