Skip to content

Commit

Permalink
Remove extra includes from compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Nov 20, 2023
1 parent e30a25c commit 8ff780f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
]
Expand All @@ -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"}
Expand Down

0 comments on commit 8ff780f

Please sign in to comment.