Merge topic 'bootstrap-cflags'
c7aa38f
bootstrap: Honor CFLAGS during "make" test (#10545)
This commit is contained in:
commit
6426a86d5e
|
@ -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