This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-fast-pbkdf2.git

commit 3a8f93db630c175833ec6d0bafb1e3ca8b68c997
Author: Ronny Berndt <[email protected]>
AuthorDate: Tue Jan 23 15:07:07 2024 +0100

    Force -Wundef as errors
---
 rebar.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rebar.config b/rebar.config
index a90a869..cc5e2da 100644
--- a/rebar.config
+++ b/rebar.config
@@ -16,7 +16,7 @@
       {port_env,
         [
           {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
-               "CFLAGS", "$CFLAGS -std=c99 -O0 -g -Wall -Wextra -Wundef -fPIC 
-I/opt/homebrew/include -I/usr/local/include --coverage"},
+               "CFLAGS", "$CFLAGS -std=c99 -O0 -g -Wall -Wextra -Wundef 
-Werror=undef -fPIC -I/opt/homebrew/include -I/usr/local/include --coverage"},
           {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
                "LDLIBS", "$LDLIBS -lcrypto -L/opt/homebrew/lib/ 
-L/usr/local/lib --coverage"}
         ]
@@ -30,7 +30,7 @@
 {port_env,
   [
     {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
-         "CFLAGS", "$CFLAGS -std=c99 -O3 -g -Wall -Wextra -Wundef -fPIC 
-I/opt/homebrew/include -I/usr/local/include"},
+         "CFLAGS", "$CFLAGS -std=c99 -O3 -g -Wall -Wextra -Wundef 
-Werror=undef -fPIC -I/opt/homebrew/include -I/usr/local/include"},
     {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
          "LDLIBS", "$LDLIBS -lcrypto -L/opt/homebrew/lib/ -L/usr/local/lib"},
     {"win32", "CFLAGS", "$CFLAGS /I${OPENSSL_INSTALL_DIR}/include /O2 /DNDEBUG 
/Wall"},

Reply via email to