From 8ff780fe52b75f98e5ad38d311ed977ccd41b641 Mon Sep 17 00:00:00 2001 From: Nelson Vides Date: Mon, 20 Nov 2023 13:54:10 +0100 Subject: [PATCH] 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 daa5f8f..563a331 100644 --- a/rebar.config +++ b/rebar.config @@ -16,9 +16,9 @@ {port_env, [ {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)", - "$CFLAGS -std=c99 -O0 -g -Wall -Wextra -fPIC -I/opt/homebrew/include -I/usr/local/include --coverage"}, + "$CFLAGS -std=c99 -O0 -g -Wall -Wextra -fPIC --coverage"}, {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)", - "$LDLIBS -lcrypto -L/opt/homebrew/lib/ -L/usr/local/lib --coverage"}, + "$LDLIBS -lcrypto --coverage"}, {"win32", "CFLAGS", "$CFLAGS /O0 /DNDEBUG /Wall"}, {"win32", "LDLIBS", "$LDLIBS libcrypto.lib"} ] @@ -32,9 +32,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"}