diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-07-22 18:11:02 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-09-15 01:05:27 +0200 |
commit | 065c79f0dfe8a7beae0609be64197cfd4f1e22d5 (patch) | |
tree | 5e3395f2c68c93351fb114fa64a6644bedb21646 /platform/linuxbsd/detect.py | |
parent | cd5a8f8dd4a86b06f6aa898db03a18d5dbd0f94c (diff) | |
download | redot-engine-065c79f0dfe8a7beae0609be64197cfd4f1e22d5.tar.gz |
Re-enable building position-independent executables on Linux/*BSD
This provides better security at the cost of having misleading
binary icons on some file managers.
Now that recent Linux distributions no longer allow executing
binaries by double-clicking them in a file manager (even if the
binary is set to be executable), the usability cost of PIE is lowered.
You have to use a terminal or install a `.desktop` file nowadays.
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r-- | platform/linuxbsd/detect.py | 5 |
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") |