aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-01 19:36:55 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-01 19:36:55 +0200
commit6f3d38eaf0b799c725d2b9239072fdfc6290ca21 (patch)
tree9d95f52d1dffa89db8c15288c54fb181ab2f4800 /testing
parentc4c677729d65fda515f2289c5e0d628f9892ee83 (diff)
downloadaports-6f3d38eaf0b799c725d2b9239072fdfc6290ca21.tar.bz2
aports-6f3d38eaf0b799c725d2b9239072fdfc6290ca21.tar.xz
testing/vlc: -fpermissive applies to c++ only
Diffstat (limited to 'testing')
-rw-r--r--testing/vlc/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/vlc/APKBUILD b/testing/vlc/APKBUILD
index 09d301181c..50e6d67972 100644
--- a/testing/vlc/APKBUILD
+++ b/testing/vlc/APKBUILD
@@ -99,7 +99,8 @@ build ()
# -fpermissive is needed due to zlib 1.2.6 changing
# void* to gzFile on gz*() functions
- export CFLAGS="$CFLAGS -D_GNU_SOURCE -fpermissive"
+ export CFLAGS="$CFLAGS -D_GNU_SOURCE"
+ export CXXFLAGS="$CXXFLAGS -fpermissive"
./configure --prefix=/usr \
--disable-mmx \