summaryrefslogtreecommitdiff
path: root/net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch')
-rw-r--r--net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch b/net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch
new file mode 100644
index 000000000000..1a2a98c24e9e
--- /dev/null
+++ b/net-voip/yate/files/yate-5.5.0-dont-mess-with-cflags.patch
@@ -0,0 +1,14 @@
+https://build.opensuse.org/package/view_file/network:telephony/yate/dont-mess-with-cflags.patch?expand=1
+
+Index: yate/configure.ac
+===================================================================
+--- yate.orig/configure.ac
++++ yate/configure.ac
+@@ -1652,7 +1652,6 @@ fi
+
+
+ INSTALL_D="install -D"
+-CFLAGS=`echo "$CFLAGS" | sed 's/\(^\| \+\)-g[[0-9]]*//' | sed 's/[[[:space:]]]\{2,\}/ /g'`
+ MODULE_CFLAGS="-fno-exceptions -fPIC $HAVE_GCC_FORMAT_CHECK $HAVE_BLOCK_RETURN"
+ MODULE_CPPFLAGS="$HAVE_NO_OVERLOAD_VIRT_WARN $RTTI_OPT $MODULE_CFLAGS"
+ MODULE_LDRELAX="-rdynamic -shared"