[packages/opensips] filterout -fPIC (used on x32 by default)
jajcus
jajcus at pld-linux.org
Thu Jul 30 14:39:16 CEST 2015
commit aa960914486af9b17d1bcde7c1489b8ebe030f85
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu Jul 30 14:38:57 2015 +0200
filterout -fPIC (used on x32 by default)
opensips.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/opensips.spec b/opensips.spec
index e4af23a..2d16865 100644
--- a/opensips.spec
+++ b/opensips.spec
@@ -69,6 +69,10 @@ Requires: systemd-units >= 38
Suggests: python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# -fPIC, included in default x32 cflags, crashes our GCC (4.9.2) on
+# one of opensips source files
+%define filterout_c -fPIC
+
# mi_xmlrpc requires xmlrpc-c-devel in version 1.9 only
# event_rabbitmq requires 'amqp.h'
# cachedb_cassandra requires 'protocol/TBinaryProtocol.h'
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opensips.git/commitdiff/aa960914486af9b17d1bcde7c1489b8ebe030f85
More information about the pld-cvs-commit
mailing list