mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-17 15:44:18 +08:00
fix: respect CFLAGS from environment, or set defaults
This commit is contained in:
parent
b8b6a5fd7b
commit
3ead10dd94
4
configure
vendored
4
configure
vendored
@ -56,7 +56,9 @@ build_cross=
|
||||
# use CC/AR from environment when set
|
||||
test -n "$CC" && cc="$CC"
|
||||
test -n "$AR" && ar="$AR"
|
||||
test -n "CFLAGS" && CFLAGS="-Wall -O2"
|
||||
|
||||
# set default CFLAGS if unset in environment
|
||||
test -z "$CFLAGS" && CFLAGS="-Wall -O2"
|
||||
|
||||
# find source path
|
||||
source_path=${0%configure}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user