Browse Source

Merge pull request #50737 from Calinou/linuxbsd-reenable-pie

Re-enable building position-independent executables on Linux/*BSD
Rémi Verschelde 4 years ago
parent
commit
52d7f4bfe0
1 changed files with 0 additions and 5 deletions
  1. 0 5
      platform/linuxbsd/detect.py

+ 0 - 5
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")