bootstrap: Honor CFLAGS during "make" test (#10545)
This commit is contained in:
parent
f2b4a46677
commit
c7aa38ff39
|
@ -839,7 +839,7 @@ mkdir "${cmake_bootstrap_dir}/${TMPFILE}"
|
||||||
cd "${cmake_bootstrap_dir}/${TMPFILE}"
|
cd "${cmake_bootstrap_dir}/${TMPFILE}"
|
||||||
echo '
|
echo '
|
||||||
test: test.c
|
test: test.c
|
||||||
"'"${cmake_c_compiler}"'" -o test test.c
|
"'"${cmake_c_compiler}"'" '"${cmake_ld_flags} ${cmake_c_flags}"' -o test test.c
|
||||||
'>"Makefile"
|
'>"Makefile"
|
||||||
echo '
|
echo '
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in New Issue