diff options
author | davidcunado-arm <david.cunado@arm.com> | 2018-01-30 11:15:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 11:15:20 +0000 |
commit | e58f4d8eaf99f366b60718995146ed2121f3b34c (patch) | |
tree | 843241cea2d0a02abf024ccb8abaa45f9dd92249 /Makefile | |
parent | eefd04b69cedfbdedfe4b2db2b29f466692a4580 (diff) | |
parent | d1156e0b967cf219f5bef8eef83792cd42cb1dd6 (diff) |
Merge pull request #1248 from stevecapperarm/fixes/pie-logic
Correct the Makefile logic for disabling PIE
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -163,7 +163,7 @@ TF_CFLAGS += $(CPPFLAGS) $(TF_CFLAGS_$(ARCH)) \ GCC_V_OUTPUT := $(shell $(CC) -v 2>&1) PIE_FOUND := $(findstring --enable-default-pie,${GCC_V_OUTPUT}) -ifeq ($(PIE_FOUND),1) +ifneq ($(PIE_FOUND),) TF_CFLAGS += -fno-PIE endif |