From: Roy Marples Date: Wed, 13 May 2015 01:22:58 +0000 (+0000) Subject: Disable asserts for non debug builds. X-Git-Tag: v6.9.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbcc8ed0eb3a1da3e8ff1caf9921116f1f3d61d9;p=thirdparty%2Fdhcpcd.git Disable asserts for non debug builds. --- diff --git a/configure b/configure index 48994d39..005f083d 100755 --- a/configure +++ b/configure @@ -344,6 +344,8 @@ EOF sunos*);; *) echo "CFLAGS+= -Wstrict-overflow" >>$CONFIG_MK;; esac +else + echo "CPPFLAGS+= -DNDEBUG" >>$CONFIG_MK fi if [ -z "$EMBEDDED" -o "$EMBEDDED" = yes ]; then