Quote CC for complex paths
This commit is contained in:
parent
1680ef290f
commit
773b1fbc23
4
compile
4
compile
@ -11,7 +11,7 @@ if [ "$target_os" = "linux" ]; then
|
|||||||
echo "* Compiling: linux ..."
|
echo "* Compiling: linux ..."
|
||||||
CC="${CC:=gcc}"
|
CC="${CC:=gcc}"
|
||||||
./lua_translate
|
./lua_translate
|
||||||
$CC -std=gnu89 src/main.c -g -lSDL2 -llua5.3 -lm -o engine -O3 -Werror -Wall $CFLAGS
|
"$CC" -std=gnu89 src/main.c -g -lSDL2 -llua5.3 -lm -o engine -O3 -Werror -Wall $CFLAGS
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ if [ "$target_os" = "openbsd" ]; then
|
|||||||
echo "* Compiling: openbsd ..."
|
echo "* Compiling: openbsd ..."
|
||||||
CC="${CC:=egcc}"
|
CC="${CC:=egcc}"
|
||||||
./lua_translate
|
./lua_translate
|
||||||
$CC -std=gnu89 src/main.c -g -lSDL2 -llua5.3 -lm -o engine -O3 -Werror -Wall -I /usr/local/include $CFLAGS
|
"$CC" -std=gnu89 src/main.c -g -lSDL2 -llua5.3 -lm -o engine -O3 -Werror -Wall -I /usr/local/include $CFLAGS
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user