From 87fe3ab0dd5a8b99f426789d27b51dbd44a1e0f5 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sun, 12 Aug 2018 18:08:24 +0200 Subject: [PATCH] libflac: remove no longer needed debug fix --- packages/libflac/build.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/libflac/build.sh b/packages/libflac/build.sh index 00cbe7160..d9d885520 100644 --- a/packages/libflac/build.sh +++ b/packages/libflac/build.sh @@ -5,13 +5,3 @@ TERMUX_PKG_REVISION=4 TERMUX_PKG_SRCURL=http://downloads.xiph.org/releases/flac/flac-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f TERMUX_PKG_DEPENDS="libogg" - -termux_step_pre_configure () { - if [ "$TERMUX_DEBUG" == "true" ]; then - # libflac does removes the flag "-g" from CFLAGS in the configure script - # Not sure why this is done but lets assume there is a good reason for it. - # -g3 is normally passed for a debug build in termux, -g is then removed - # and only "3" is left which isn't a valid option to the compiler. - export CFLAGS="${CFLAGS/-g3/}" - fi -}