summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-15 08:41:24 +0200
committerGitHub <noreply@github.com>2021-09-15 08:41:24 +0200
commit52d7f4bfe09f9dee289ddc025ed46dffe6954793 (patch)
tree7ac98ac2a3f61856a567351ed9ec5793650edf30 /platform
parent5139f18be4a6762fd6f083051dc9d112e5df9c04 (diff)
parent065c79f0dfe8a7beae0609be64197cfd4f1e22d5 (diff)
Merge pull request #50737 from Calinou/linuxbsd-reenable-pie
Re-enable building position-independent executables on Linux/*BSD
Diffstat (limited to 'platform')
-rw-r--r--platform/linuxbsd/detect.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 3e3ed469ed..f535c9e7bd 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -201,11 +201,6 @@ def configure(env):
env.Append(CCFLAGS=["-pipe"])
env.Append(LINKFLAGS=["-pipe"])
- # -fpie and -no-pie is supported on GCC 6+ and Clang 4+, both below our
- # minimal requirements.
- env.Append(CCFLAGS=["-fpie"])
- env.Append(LINKFLAGS=["-no-pie"])
-
## Dependencies
env.ParseConfig("pkg-config x11 --cflags --libs")