summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2015-05-13 01:22:58 +0000
committerRoy Marples <roy@marples.name>2015-05-13 01:22:58 +0000
commitcbcc8ed0eb3a1da3e8ff1caf9921116f1f3d61d9 (patch)
tree77f9b6d1303192aa7410758a164079c4e4b7a69f /configure
parent785b477d69db193e7ff399fb09ff3a525160034e (diff)
downloaddhcpcd-cbcc8ed0eb3a1da3e8ff1caf9921116f1f3d61d9.tar.xz
Disable asserts for non debug builds.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
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