Commit e8720d4c authored by treadway's avatar treadway

fixed an issue with building ccmio on x86_64 systems

Added -undefined,dynamic_lookup back in to the link options


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@3179 18c085ea-50e0-402c-830e-de6fd14e8384
parent 28584bde
......@@ -297,6 +297,9 @@
# Added an explicit CMake build step.
# Added a parallel make option
#
# Thomas R. Treadway, Thu Feb 7 16:58:19 PST 2008
# Corrected the ccmio build for x86_64
#
# *****************************************************************************
#
# *************************************************************************** #
......@@ -6054,7 +6057,8 @@ function build_ccmio
#
info_box "Building CCMIO . . . (~1 minutes)" 1>&3
echo "Building CCMIO"
$MAKE batch
$MAKE batch CXX="$CXX_COMPILER" CC="$C_COMPILER" \
CFLAGS="$C_OPT_FLAGS" CXXFLAGS="$CXX_OPT_FLAGS"
## if [[ $? != 0 ]] ; then
## echo "CCMIO build failed. Giving up"
## return 1
......
......@@ -30,7 +30,8 @@ if test -z "$CXXFLAGS"; then
# -arch ppc -arch i386"
fi
if test -z "$LDFLAGS"; then
LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names \
-Wl,-undefined,dynamic_lookup"
# Universal build case
# LDFLAGS="$LDFLAGS -L$HOME/mpich2/lib \
# -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment