diff options
Diffstat (limited to 'main/ffmpeg')
-rw-r--r-- | main/ffmpeg/APKBUILD | 4 |
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 |