ports/irc/unreal/files/patch-configure
Mathieu Arnold 9fec22bd72 - Fix runtime when built with clang [1] [2]
- Support stage [3]
- Switch to options helpers
- Update patches, and rename them to follow makepatch naming

maintainer timeout [1] [2] [3]
-> take over maintainership

PR:		ports/184150 [1], ports/187117 [2], ports/189615 [3]
Submitted by:	Ryan Frederick [1], Jean-Sébastien Pédron [2], Ryan Frederick [3]
Sponsored by:	Absolight
2014-05-27 23:58:42 +00:00

20 lines
673 B
Text

--- 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"