summaryrefslogtreecommitdiff
path: root/irc/unreal/files/patch-configure
blob: 380794605cc2f0ecd2e4692f1b3b716544481551 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure	2014-02-27 14:03:45.132445608 +0100
+++ configure	2014-02-27 14:03:05.502448091 +0100
@@ -6356,7 +6356,7 @@
 
 
 hold_cflags=$CFLAGS
-CFLAGS="$CFLAGS -export-dynamic"
+CFLAGS="$CFLAGS -Wl,-export-dynamic"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need the -export-dynamic flag" >&5
 $as_echo_n "checking if we need the -export-dynamic flag... " >&6; }
 if ${ac_cv_export_dynamic+:} false; then :
@@ -6395,7 +6395,7 @@
 else
 
 if test "$ac_cv_c_compiler_gnu" = "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"