blob: 4f836d632924f984ddd972c560c195dfc610f4fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
if type "clang" > /dev/null; then
PREF="clang"
else
PREF="gcc"
fi
CC=${CC-$PREF}
CFLAGS="-g -Wall -Wextra -std=c99 -pedantic -Wno-gnu-statement-expression $CFLAGS"
LDFLAGS="$LDFLAGS"
if [ ! -n "$BOOTSTRAP_BUILD" ]; then
if [ -f "../config.local" ]; then
redo-ifchange ../config.local
. ../config.local
else
redo-ifcreate ../config.local
fi
fi
|