From a5ef2c68f8cac9a46449477d0ddd8bc16f0722d3 Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Thu, 18 Feb 2021 18:06:34 +0100 Subject: [PATCH] DEBUG: Do not override options from --enable-debug Because they actually produce binaries that can be debugged. --- build-scripts/configure | 3 --- 1 file changed, 3 deletions(-) diff --git a/build-scripts/configure b/build-scripts/configure index 9de243a2a..39cf72429 100755 --- a/build-scripts/configure +++ b/build-scripts/configure @@ -82,9 +82,6 @@ case "$BUILD_TYPE" in ;; DEBUG) ARGS="$ARGS --enable-debug" - # Override the default "-g3 -O0" that comes with ./configure --enable-debug - # in order to reduce the size of the packages - CFLAGS="-g2 -O1 $CFLAGS" ;; CODE_COVERAGE) ARGS="$ARGS --enable-debug"