Unified · Split
| @@ -56,7 +56,9 @@ build_cross= · 55 unmodified lines | ||
| 56 | 56 | # use CC/AR from environment when set |
| 57 | 57 | test -n "$CC" && cc="$CC" |
| 58 | 58 | test -n "$AR" && ar="$AR" |
| 59 | −test -n "CFLAGS" && CFLAGS="-Wall -O2" | |
| 59 | + | |
| 60 | +# set default CFLAGS if unset in environment | |
| 61 | +test -z "$CFLAGS" && CFLAGS="-Wall -O2" | |
| 60 | 62 | |
| 61 | 63 | # find source path |
| 62 | 64 | source_path=${0%configure} |