godot/fix-pie-warning.patch
Ferdinand Thiessen 54df5fe1ca Accepting request 762883 from home:cunix:godot
This should restore games:godot to its last factory state.

One of the godot maintainers deleted godot from games a few days ago without
my consent - I was one of the maintainers.

In the meantime he seems to not wanting to work as godot maintainer anymore.

Please add me as maintainer of godot package in games (again).

OBS-URL: https://build.opensuse.org/request/show/762883
OBS-URL: https://build.opensuse.org/package/show/games/godot?expand=0&rev=1
2020-01-13 12:02:14 +00:00

14 lines
516 B
Diff

diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index 28f5335..35892d8 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -160,7 +160,7 @@ def configure(env):
version = get_compiler_version(env)
if version != None and version[0] >= '6':
env.Append(CCFLAGS=['-fpie'])
- env.Append(LINKFLAGS=['-no-pie'])
+
# Do the same for clang should be fine with Clang 4 and higher
if using_clang(env):
version = get_compiler_version(env)