mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-21 15:42:58 +08:00
configure: prevent bug overwriting config.mak on OpenBSD
the command writing the openbsd line was using >> before the call which was meant to initialize config.mak using >. closes #228
This commit is contained in:
parent
06c20ed394
commit
bb30d867fe
3
configure
vendored
3
configure
vendored
@ -130,6 +130,7 @@ if [ -z "$CC" ] ; then
|
||||
CC=cc
|
||||
fi
|
||||
|
||||
echo > config.mak
|
||||
|
||||
bsd_detected=false
|
||||
isbsd() {
|
||||
@ -162,7 +163,7 @@ OUR_CPPFLAGS="$OUR_CPPFLAGS -DBROKEN_FCLOSE"
|
||||
}
|
||||
check_define __sun && check_define __SVR4 && solaris_detected=true
|
||||
|
||||
echo "CC=$CC">config.mak
|
||||
echo "CC=$CC">>config.mak
|
||||
[ -z "$CPPFLAGS" ] || echo "CPPFLAGS=$CPPFLAGS">>config.mak
|
||||
[ -z "$CFLAGS" ] || echo "USER_CFLAGS=$CFLAGS">>config.mak
|
||||
[ -z "$LDFLAGS" ] || echo "USER_LDFLAGS=$LDFLAGS">>config.mak
|
||||
|
Loading…
Reference in New Issue
Block a user