ENH: fix bootstrap for mac

This commit is contained in:
Bill Hoffman 2006-12-05 08:47:06 -05:00
parent 1513773310
commit 0c381a2ce8
1 changed files with 1 additions and 4 deletions

View File

@ -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