ENH: fix bootstrap for mac
This commit is contained in:
parent
1513773310
commit
0c381a2ce8
@ -548,19 +548,16 @@ rm -f "${cmake_bootstrap_dir}/cmConfigure.h.tmp"
|
|||||||
# If exist compiler flags, set them
|
# If exist compiler flags, set them
|
||||||
cmake_c_flags=${CFLAGS}
|
cmake_c_flags=${CFLAGS}
|
||||||
cmake_cxx_flags=${CXXFLAGS}
|
cmake_cxx_flags=${CXXFLAGS}
|
||||||
|
cmake_ld_flags=${LDFLAGS}
|
||||||
|
|
||||||
# Add Carbon framework on Darwin
|
# Add Carbon framework on Darwin
|
||||||
if ${cmake_system_darwin}; then
|
if ${cmake_system_darwin}; then
|
||||||
cmake_ld_flags="${LDFLAGS} -framework Carbon"
|
cmake_ld_flags="${LDFLAGS} -framework Carbon"
|
||||||
else
|
|
||||||
cmake_ld_flags=${LDFLAGS}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add BeOS toolkits...
|
# Add BeOS toolkits...
|
||||||
if ${cmake_system_beos}; then
|
if ${cmake_system_beos}; then
|
||||||
cmake_ld_flags="${LDFLAGS} -lroot -lbe"
|
cmake_ld_flags="${LDFLAGS} -lroot -lbe"
|
||||||
else
|
|
||||||
cmake_ld_flags=${LDFLAGS}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Test C compiler
|
# Test C compiler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user