History

fix: respect CFLAGS from environment, or set defaults

Boian Berberov committed 2 years ago

Commit 3ead10d1 parent b8b6a5f1 file · +3 −1Browse files

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t