summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-17 17:13:48 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-17 17:13:48 (GMT)
commitd0d9330c403fc2a0a07ea9e5fa55da02c91ad57f (patch)
tree8580f1da5d774736372ebb72bfc9ea6715e33e9b /bootstrap
parente7c4c183f0f7b41f0e0671da1b0c00503e63dcc7 (diff)
downloadCMake-d0d9330c403fc2a0a07ea9e5fa55da02c91ad57f.zip
CMake-d0d9330c403fc2a0a07ea9e5fa55da02c91ad57f.tar.gz
CMake-d0d9330c403fc2a0a07ea9e5fa55da02c91ad57f.tar.bz2
Support LDFLAGS
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index bf02c9c..8992c03 100755
--- a/bootstrap
+++ b/bootstrap
@@ -309,7 +309,7 @@ for a in ${CMAKE_SOURCES}; do
done
cmake_cxx_flags="${cmake_ansi_cxx_flags} ${cmake_cxx_flags} -DCMAKE_ROOT_DIR='\"${cmake_source_dir}\"' -DCMAKE_BOOTSTRAP -I`cmake_escape \"${cmake_source_dir}/Source\"` -I`cmake_escape \"${cmake_bootstrap_dir}\"`"
echo "cmake: ${objs}" > "${cmake_bootstrap_dir}/Makefile"
-echo " ${cmake_cxx_compiler} ${cmake_cxx_flags} ${objs} -o cmake" >> "${cmake_bootstrap_dir}/Makefile"
+echo " ${cmake_cxx_compiler} ${LDFLAGS} ${cmake_cxx_flags} ${objs} -o cmake" >> "${cmake_bootstrap_dir}/Makefile"
for a in ${CMAKE_SOURCES}; do
src=`cmake_escape "${cmake_source_dir}/Source/${a}.cxx"`
echo "${a}.o : ${src} ${dep}" >> "${cmake_bootstrap_dir}/Makefile"