summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-12-05 13:47:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-12-05 13:47:06 (GMT)
commit0c381a2ce820db730cf995b6dbd2e6e4050cb358 (patch)
tree612f88b8c7df00918019d8fc9c3c51d9bebd7f46 /bootstrap
parent15137733101ebc317ee0239df1357e78c63bbcfe (diff)
downloadCMake-0c381a2ce820db730cf995b6dbd2e6e4050cb358.zip
CMake-0c381a2ce820db730cf995b6dbd2e6e4050cb358.tar.gz
CMake-0c381a2ce820db730cf995b6dbd2e6e4050cb358.tar.bz2
ENH: fix bootstrap for mac
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap5
1 files changed, 1 insertions, 4 deletions
diff --git a/bootstrap b/bootstrap
index c4df8a9..980ae52 100755
--- a/bootstrap
+++ b/bootstrap
@@ -548,19 +548,16 @@ rm -f "${cmake_bootstrap_dir}/cmConfigure.h.tmp"
# If exist compiler flags, set them
cmake_c_flags=${CFLAGS}
cmake_cxx_flags=${CXXFLAGS}
+cmake_ld_flags=${LDFLAGS}
# Add Carbon framework on Darwin
if ${cmake_system_darwin}; then
cmake_ld_flags="${LDFLAGS} -framework Carbon"
-else
- cmake_ld_flags=${LDFLAGS}
fi
# Add BeOS toolkits...
if ${cmake_system_beos}; then
cmake_ld_flags="${LDFLAGS} -lroot -lbe"
-else
- cmake_ld_flags=${LDFLAGS}
fi
# Test C compiler