Index: source/libvpx/build/make/configure.sh |
=================================================================== |
--- source/libvpx/build/make/configure.sh (revision 285372) |
+++ source/libvpx/build/make/configure.sh (working copy) |
@@ -1222,7 +1222,12 @@ |
fi |
fi |
- enabled debug && check_add_cflags -g && check_add_ldflags -g |
+ if enabled debug; then |
+ check_add_cflags -g && check_add_ldflags -g |
+ else |
+ check_add_cflags -DNDEBUG |
+ fi |
+ |
enabled gprof && check_add_cflags -pg && check_add_ldflags -pg |
enabled gcov && |
check_add_cflags -fprofile-arcs -ftest-coverage && |