Skip to content
Permalink
Browse files
Special-case Windows build flags
  • Loading branch information
wohali committed Jan 6, 2020
1 parent b42f55e commit 55c18085692df728a35728f31d38becce38d6c07
Showing 1 changed file with 2 additions and 1 deletion.
@@ -13,7 +13,8 @@ ErlOpts =
{"priv/hqueue.so", ["c_src/hqueue*.c"]}
]},
{port_env, [
{".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -DHQ_ENIF_ALLOC -O3"}
{"(linux|solaris|darwin|freebsd)", "CFLAGS", "$CFLAGS -g -Wall -Werror -DHQ_ENIF_ALLOC -O3"},
{"win32", "CFLAGS", "$CFLAGS /O2 /DNDEBUG /DHQ_ENIF_ALLOC /Dinline=__inline /Wall"}
%% {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -Wextra"}
]},
{eunit_opts, [verbose]},

0 comments on commit 55c1808

Please sign in to comment.