Use CFLAGS var
This commit is contained in:
@@ -592,7 +592,8 @@ from_source() {
|
|||||||
((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-1))")
|
((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-1))")
|
||||||
|
|
||||||
# Make image
|
# Make image
|
||||||
if ! execute HOST_CFLAGS="-std=c17" ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" world; then
|
declare -x HOST_CFLAGS="-std=c17"
|
||||||
|
if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" world; then
|
||||||
echo "Error: make failed"
|
echo "Error: make failed"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user