bootstrap: Honor CFLAGS during "make" test (#10545)

This commit is contained in:
Brad King 2010-09-10 11:39:43 -04:00
parent f2b4a46677
commit c7aa38ff39

View File

@ -839,7 +839,7 @@ mkdir "${cmake_bootstrap_dir}/${TMPFILE}"
cd "${cmake_bootstrap_dir}/${TMPFILE}"
echo '
test: test.c
"'"${cmake_c_compiler}"'" -o test test.c
"'"${cmake_c_compiler}"'" '"${cmake_ld_flags} ${cmake_c_flags}"' -o test test.c
'>"Makefile"
echo '
#include <stdio.h>