scummvm-tools/scummvm-tools-1.8.0-fPIC.patch
2016-03-13 01:17:05 +01:00

25 lines
1019 B
Diff

diff -Naur scummvm-tools-1.8.0/configure scummvm-tools-1.8.0-mod/configure
--- scummvm-tools-1.8.0/configure 2016-02-27 10:09:38.000000000 +0100
+++ scummvm-tools-1.8.0-mod/configure 2016-03-13 00:58:56.095966071 +0100
@@ -1570,7 +1570,7 @@
return true;
}
EOF
- cc_check $_wxincludes $_wxlibs && has_wx_gui_dev=yes
+ cc_check $_wxincludes $_wxlibs -fPIC && has_wx_gui_dev=yes
if test "$has_wx_gui_dev" = no ; then
_wxincludes=""
diff -Naur scummvm-tools-1.8.0/Makefile scummvm-tools-1.8.0-mod/Makefile
--- scummvm-tools-1.8.0/Makefile 2016-02-27 10:09:38.000000000 +0100
+++ scummvm-tools-1.8.0-mod/Makefile 2016-03-13 01:10:13.488556748 +0100
@@ -47,6 +47,8 @@
CXXFLAGS+= -Wno-conversion -Wno-shorten-64-to-32 -Wno-sign-compare -Wno-four-char-constants
endif
+ CXXFLAGS+= -fPIC
+
#######################################################################
# Default commands - put the necessary replacements in config.mk #
#######################################################################