aboutsummaryrefslogtreecommitdiffstats
path: root/main/ffmpeg
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-26 13:44:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-27 09:55:36 +0000
commitd3a82de598fda43f2723d532ba35b619f2551024 (patch)
tree03347018a9005c9e40b25fc9c5ffffc642f615c0 /main/ffmpeg
parent52e2d733ce64b22d08bcc9fa2638146d9117fde7 (diff)
downloadaports-d3a82de598fda43f2723d532ba35b619f2551024.tar.bz2
aports-d3a82de598fda43f2723d532ba35b619f2551024.tar.xz
main/ffmpeg: allow debug with DEBUG var
for convenience
Diffstat (limited to 'main/ffmpeg')
-rw-r--r--main/ffmpeg/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/ffmpeg/APKBUILD b/main/ffmpeg/APKBUILD
index c7e30b48b5..2315b24657 100644
--- a/main/ffmpeg/APKBUILD
+++ b/main/ffmpeg/APKBUILD
@@ -21,6 +21,8 @@ prepare() {
}
build() {
+ local _dbg="--disable-debug"
+ [ -n "$DEBUG" ] && _dbg="--enable-debug"
cd "$_builddir"
./configure --prefix=/usr \
--enable-gpl \
@@ -41,7 +43,7 @@ build() {
--disable-mmx \
--disable-mmx2 \
--disable-stripping \
- --disable-debug \
+ $_dbg \
|| return 1
make || return 1
${CC:-gcc} -o tools/qt-faststart $CFLAGS tools/qt-faststart.c || return 1