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

jan pushed a commit to branch jenkins-fix-macos-ci
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/jenkins-fix-macos-ci by this 
push:
     new a4b1649d9 fix: add M1 homebrew include path to CFLAGS
a4b1649d9 is described below

commit a4b1649d96ee3b70a1ed392f9f4bd0d5bc721395
Author: Jan Lehnardt <j...@apache.org>
AuthorDate: Tue Nov 14 20:16:18 2023 +0100

    fix: add M1 homebrew include path to CFLAGS
---
 src/fast_pbkdf2/rebar.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fast_pbkdf2/rebar.config b/src/fast_pbkdf2/rebar.config
index 7b909f82b..780eed636 100644
--- a/src/fast_pbkdf2/rebar.config
+++ b/src/fast_pbkdf2/rebar.config
@@ -39,7 +39,7 @@
         % From files
         ["c_src/*.c"],
         % Using options
-        [ {env, [{"(linux|solaris|darwin|freebsd)", "CFLAGS", "$CFLAGS 
-std=c99 -O3 -g -Wall -Wextra -fPIC"},
+        [ {env, [{"(linux|solaris|darwin|freebsd)", "CFLAGS", "$CFLAGS 
-std=c99 -O3 -g -Wall -Wextra -fPIC -I/opt/homebrew/include/"},
                  {"win32", "CFLAGS", "$CFLAGS /O2 /DNDEBUG /Wall"},
                  {"(linux|solaris|darwin|freebsd)", "LDLIBS", "$LDLIBS 
-lcrypto -L /opt/homebrew/lib/"},
                  {"win32", "LDLIBS", "$LDLIBS libcrypto.lib"},

Reply via email to