Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions auto/cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ END
# Allow error exit status.
set +e

if [ -z `which $CC` ]; then
if [ -z "`which $CC`" ]; then
echo
echo $0: error: $CC not found.
echo
Expand Down Expand Up @@ -94,8 +94,8 @@ case $NJS_CC_NAME in

NJS_CFLAGS="$NJS_CFLAGS -Wmissing-prototypes"

# Stop on warning.
NJS_CFLAGS="$NJS_CFLAGS -Werror"
# Ignore warning.
NJS_CFLAGS="$NJS_CFLAGS -w"

# Debug.
NJS_CFLAGS="$NJS_CFLAGS -g"
Expand Down