Changes of Revision 7
[-] | Changed | asterisk18-capi.spec |
x 1
2 Group: Productivity/Telephony/Servers 3 Source0: chan_capi-%pver.tar.bz2 4 Patch0: chan_capi.patch 5 +Patch1: chan_capi-Makefile.patch 6 BuildRoot: %{_tmppath}/%{name}-%{version}-build 7 Prereq: asterisk18 8 Excludearch: s390 s390x 9
10 %prep 11 %setup -q -n chan-capi-%pver 12 %patch0 -p 0 13 +%patch1 -p 0 14 15 %build 16 make OPTIMIZE="%optflags -fno-strict-aliasing" \ 17 |
||
[+] | Added | chan_capi-Makefile.patch ^ |
@@ -0,0 +1,10 @@ +--- Makefile.orig 2013-08-25 12:15:28.471371983 +0200 ++++ Makefile 2013-08-25 12:15:34.007370944 +0200 +@@ -111,7 +111,6 @@ + + CFLAGS=-pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE + CFLAGS+=$(OPTIMIZE) +-CFLAGS+=-Wno-unused-but-set-variable + CFLAGS+=-O2 + CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi) + CFLAGS+=$(shell if uname -m | grep -q "ppc\|arm\|s390"; then echo "-fsigned-char"; fi) | ||
Added | chan_capi-HEAD.tar.bz2.old ^ |