aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2017-08-08 15:29:43 -0700
committerJohn Stultz <john.stultz@linaro.org>2017-10-30 09:41:07 -0700
commit8b4b324e96095fc180668fe1e086cd8dc7d5a920 (patch)
treecbc4ee7f3380168574d0b4d2272b284ad05cf107
parent24552242b2143e0588ba93b41ec614e151d10f5c (diff)
downloadarm-trusted-firmware-8b4b324e96095fc180668fe1e086cd8dc7d5a920.tar.gz
Use -fno-pic
Avoid build issues with the Android toolchain Change-Id: I2b3f7b7e250d71dafc92eec1ffb279127888e521 Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b32b417b..6b2efac2 100644
--- a/Makefile
+++ b/Makefile
@@ -149,7 +149,7 @@ ASFLAGS += $(CPPFLAGS) $(ASFLAGS_$(ARCH)) \
-Wa,--fatal-warnings
TF_CFLAGS += $(CPPFLAGS) $(TF_CFLAGS_$(ARCH)) \
-ffreestanding -fno-builtin -Wall -std=gnu99 \
- -Os -ffunction-sections -fdata-sections
+ -Os -ffunction-sections -fdata-sections -fno-pic
TF_LDFLAGS += --fatal-warnings -O1
TF_LDFLAGS += --gc-sections