From 25ca590416c0e0b2d3209e81985a22a0aa035e66 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Sun, 6 Mar 2022 19:41:16 +0800 Subject: [PATCH] make.sh: change DEBUG_FLAG to 0 --- make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index b100a3b..9f52192 100755 --- a/make.sh +++ b/make.sh @@ -5,7 +5,7 @@ TARGET_PREFIX=$DESTDIR/usr TARGET_CONF_PATH=$DESTDIR/etc LIB_VERSION=lib64 -DEBUG_FLAG=1 +DEBUG_FLAG=0 if [ -f /usr/include/fastcommon/_os_define.h ]; then OS_BITS=$(fgrep OS_BITS /usr/include/fastcommon/_os_define.h | awk '{print $NF;}') @@ -31,7 +31,7 @@ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE" if [ "$DEBUG_FLAG" = "1" ]; then CFLAGS="$CFLAGS -g -O1 -DDEBUG_FLAG" else - CFLAGS="$CFLAGS -O3" + CFLAGS="$CFLAGS -g -O3" fi LIBS=''