Sfoglia il codice sorgente

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

Re-enable building position-independent executables on Linux/*BSD
Rémi Verschelde 4 anni fa
parent
commit
52d7f4bfe0
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  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")