diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-03-27 06:21:55 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-03-27 06:21:55 +0300 |
commit | b77c0aec013948b49765c30db998f62d8b7ca46e (patch) | |
tree | eca39d05330139fee502b7e7dd7dce82c165a705 /main/freeswitch | |
parent | 463b6051c2415e98c1eab36403ac74f672ed71b1 (diff) | |
download | aports-b77c0aec013948b49765c30db998f62d8b7ca46e.tar.bz2 aports-b77c0aec013948b49765c30db998f62d8b7ca46e.tar.xz |
main/freeswitch: quiet a gcc-4.6 warning
Diffstat (limited to 'main/freeswitch')
-rw-r--r-- | main/freeswitch/APKBUILD | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD index 1fc643917..b07f3c97c 100644 --- a/main/freeswitch/APKBUILD +++ b/main/freeswitch/APKBUILD @@ -31,7 +31,6 @@ prepare() { esac done sed -i 's,freetdm.h,../src/include/freetdm.h,' libs/freetdm/mod_freetdm/mod_freetdm.c - sed -i 's/-Werror//g' configure } build() { @@ -47,7 +46,7 @@ build() { # remove -Werror since gcc-4.5 is more strict sed -i -e 's/-Werror//g' configure || return 1 - ./configure --prefix=/usr \ + CFLAGS="-Wno-unused-but-set-variable" ./configure --prefix=/usr \ --sysconfdir=/etc/freeswitch \ --with-modinstdir=/usr/lib/freeswitch \ --with-rundir=/var/run/freeswitch \ |