diff options
Diffstat (limited to 'irc/unreal/files/patch-configure.ac')
-rw-r--r-- | irc/unreal/files/patch-configure.ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/irc/unreal/files/patch-configure.ac b/irc/unreal/files/patch-configure.ac new file mode 100644 index 000000000000..c7b3f44e17fb --- /dev/null +++ b/irc/unreal/files/patch-configure.ac @@ -0,0 +1,20 @@ +--- configure.ac 2013-11-24 20:24:26.000000000 +0100 ++++ configure.ac 2014-02-27 14:02:58.916469490 +0100 +@@ -107,7 +107,7 @@ + ])]) + + hold_cflags=$CFLAGS +-CFLAGS="$CFLAGS -export-dynamic" ++CFLAGS="$CFLAGS -Wl,-export-dynamic" + AC_CACHE_CHECK(if we need the -export-dynamic flag, ac_cv_export_dynamic, [ + AC_TRY_LINK(, [int i];, ac_cv_export_dynamic=yes, ac_cv_export_dynamic=no)]) + if test "$ac_cv_export_dynamic" = "no"; then +@@ -116,7 +116,7 @@ + + AC_CACHE_CHECK(for compiler option to produce PIC,ac_cv_pic,[ + if test "$ac_cv_prog_gcc" = "yes"; then +- ac_cv_pic="-fPIC -DPIC -shared" ++ ac_cv_pic="-std=gnu89 -fPIC -DPIC -shared" + case `uname -s` in + Darwin*[)] + ac_cv_pic="-bundle -flat_namespace -undefined suppress" |