Changeset 243 for trunk


Ignore:
Timestamp:
Mar 6, 2007 11:38:50 AM (13 years ago)
Author:
andreasw
Message:

add bugfix for libtool to handle -m32 on x86_64 with gnu compilers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r241 r243  
    17781778
    17791779  case $build in
     1780    *x86_64-*)
     1781# Here we need to check if -m32 is specified.  If so, we need to correct sys_lib_search_path_spec
     1782      if test "$GCC" = yes && (echo $CXXFLAGS $CFLAGS $FFLAGS | $EGREP 'm32' >& /dev/null); then
     1783        AC_MSG_NOTICE(Applying patches to libtool for 32bit compilation)
     1784        sed -e 's|sys_lib_search_path_spec=".*"|sys_lib_search_path_spec="/lib /usr/lib"|' libtool > conftest.bla
     1785        mv conftest.bla libtool
     1786        chmod 755 libtool 
     1787      fi
     1788      ;;
    17801789    *-cygwin* | *-mingw*)
    17811790    case "$CXX" in
Note: See TracChangeset for help on using the changeset viewer.