Merge topic 'bootstrap-cflags'

c7aa38f bootstrap: Honor CFLAGS during "make" test (#10545)
This commit is contained in:
Brad King 2010-09-14 13:12:45 -04:00 committed by CMake Topic Stage
commit 6426a86d5e
1 changed files with 1 additions and 1 deletions

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>