mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-27 00:44:27 +03:00
compat: mingw: default to release build
This commit is contained in:
parent
61a3efc0f0
commit
9590d23c87
13
pkg/urbit/configure
vendored
13
pkg/urbit/configure
vendored
@ -37,14 +37,16 @@ xxd () {
|
||||
|
||||
defmacro URBIT_VERSION "\"$URBIT_VERSION\""
|
||||
|
||||
opt_debug=
|
||||
|
||||
while test $# != 0
|
||||
do
|
||||
case $1 in
|
||||
--enable-debug)
|
||||
CFLAGS="${CFLAGS-} -O0 -g"
|
||||
opt_debug=1
|
||||
;;
|
||||
--disable-debug)
|
||||
CFLAGS="${CFLAGS-} -O3 -g"
|
||||
opt_debug=0
|
||||
;;
|
||||
*)
|
||||
echo "unrecognized option: $1"
|
||||
@ -102,6 +104,13 @@ case $(tr A-Z a-z <<< $os) in
|
||||
|
||||
defmacro U3_OS_mingw 1
|
||||
|
||||
if ((opt_debug))
|
||||
then
|
||||
CFLAGS="${CFLAGS-} -O0 -g"
|
||||
else
|
||||
CFLAGS="${CFLAGS-} -O3 -g"
|
||||
fi
|
||||
|
||||
# increase default thread stack size and link Windows implibs
|
||||
ldextra="-Wl,--stack,67108864 -lbcrypt -lntdll -lws2_32"
|
||||
# libcurl implibs
|
||||
|
Loading…
Reference in New Issue
Block a user