You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2024/01/25 14:58:40 UTC

(couchdb-fast-pbkdf2) 25/40: Remove extra includes from compile flags

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 59bdcea9de70e87524b5922ee5d2261d842345e6
Author: Nelson Vides <vi...@gmail.com>
AuthorDate: Mon Nov 20 14:18:42 2023 +0100

    Remove extra includes from compile flags
---
 rebar.config | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/rebar.config b/rebar.config
index 7644415..518bd1d 100644
--- a/rebar.config
+++ b/rebar.config
@@ -15,8 +15,8 @@
       {rebar3_codecov, "0.6.0"}]},
       {port_env,
         [
-          {"CFLAGS", "$CFLAGS -std=c99 -O0 -g -Wall -Wextra -fPIC -I/opt/homebrew/include -I/usr/local/include --coverage"},
-          {"LDLIBS", "$LDLIBS -lcrypto -L/opt/homebrew/lib/ -L/usr/local/lib --coverage"}
+          {"CFLAGS", "$CFLAGS -std=c99 -O0 -g -Wall -Wextra -fPIC --coverage"},
+          {"LDLIBS", "$LDLIBS -lcrypto --coverage"}
         ]
       }
   ]}
@@ -28,9 +28,9 @@
 {port_env,
   [
     {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
-         "CFLAGS", "$CFLAGS -std=c99 -O3 -g -Wall -Wextra -fPIC -I/opt/homebrew/include -I/usr/local/include"},
+         "CFLAGS", "$CFLAGS -std=c99 -O3 -g -Wall -Wextra -fPIC"},
     {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
-         "LDLIBS", "$LDLIBS -lcrypto -L/opt/homebrew/lib/ -L/usr/local/lib"},
+         "LDLIBS", "$LDLIBS -lcrypto"},
     {"win32", "CFLAGS", "$CFLAGS /O2 /DNDEBUG /Wall"},
     {"win32", "LDLIBS", "$LDLIBS libcrypto.lib"},
     {"DRV_LINK_TEMPLATE", "$DRV_LINK_TEMPLATE $LDLIBS"}