summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2019-03-13 15:33:13 +0000
committerGitHub <noreply@github.com>2019-03-13 15:33:13 +0000
commit9d0ac8362a6eed5daf65e111efa6fd24e4f04098 (patch)
tree7e36e7daeb128c94e734a645321934322deef865 /Makefile
parentb79239db1cabaea787a6f486c8a7c95bdf7009c3 (diff)
parent80e1989707017a2b9c699b252a0b8bcda6e145a6 (diff)
Merge pull request #1880 from lmayencourt/lm/pie
PIE: fix linking with pie and binutils > 2.27
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c6d42106..e39b3532 100644
--- a/Makefile
+++ b/Makefile
@@ -371,7 +371,7 @@ endif
ifeq ($(ENABLE_PIE),1)
TF_CFLAGS += -fpie
- TF_LDFLAGS += -pie
+ TF_LDFLAGS += -pie --no-dynamic-linker
else
PIE_FOUND := $(findstring --enable-default-pie,${GCC_V_OUTPUT})
ifneq ($(PIE_FOUND),)