summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-09-10 15:39:43 (GMT)
committerBrad King <brad.king@kitware.com>2010-09-10 15:39:43 (GMT)
commitc7aa38ff39651479127a55c33935486d9d8fe6fb (patch)
tree76d3f1a5a792a3d0af1051b1e2788a66ae9496ec /bootstrap
parentf2b4a466779f5481c79d711ee2601d60ce41a6ad (diff)
downloadCMake-c7aa38ff39651479127a55c33935486d9d8fe6fb.zip
CMake-c7aa38ff39651479127a55c33935486d9d8fe6fb.tar.gz
CMake-c7aa38ff39651479127a55c33935486d9d8fe6fb.tar.bz2
bootstrap: Honor CFLAGS during "make" test (#10545)
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 01d9e15..0da868d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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>