Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
e58f4d8e
Unverified
Commit
e58f4d8e
authored
Jan 30, 2018
by
davidcunado-arm
Committed by
GitHub
Jan 30, 2018
Browse files
Merge pull request #1248 from stevecapperarm/fixes/pie-logic
Correct the Makefile logic for disabling PIE
parents
eefd04b6
d1156e0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
e58f4d8e
...
...
@@ -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
)
if
n
eq
($(PIE_FOUND),)
TF_CFLAGS
+=
-fno-PIE
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment