summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-17 13:13:48 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-17 13:13:48 -0400
commitd0d9330c403fc2a0a07ea9e5fa55da02c91ad57f (patch)
tree8580f1da5d774736372ebb72bfc9ea6715e33e9b /bootstrap
parente7c4c183f0f7b41f0e0671da1b0c00503e63dcc7 (diff)
downloadcmake-d0d9330c403fc2a0a07ea9e5fa55da02c91ad57f.tar.gz
Support LDFLAGS
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index bf02c9cad9..8992c0302d 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"