]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Disable asserts for non debug builds.
authorRoy Marples <roy@marples.name>
Wed, 13 May 2015 01:22:58 +0000 (01:22 +0000)
committerRoy Marples <roy@marples.name>
Wed, 13 May 2015 01:22:58 +0000 (01:22 +0000)
configure

index 48994d3946ebf544ce8da80ee293cb9928d89cfe..005f083dfddfad2d9dad2463504dc4966ce86ef6 100755 (executable)
--- 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