Browse Source

Merge pull request #1248 from stevecapperarm/fixes/pie-logic

Correct the Makefile logic for disabling PIE
pull/1230/merge
davidcunado-arm 7 years ago
committed by GitHub
parent
commit
e58f4d8eaf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Makefile

2
Makefile

@ -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

Loading…
Cancel
Save