Changeset 2201

Show
Ignore:
Timestamp:
26/07/2008 16:02:50 (5 months ago)
Author:
chris
Message:

Remove -rdynamic flag from mingw gcc which doesn't support it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r2167 r2201  
    2121  AC_MSG_ERROR([[basic compile checks failed, the C++ compiler is broken]]) 
    2222fi 
     23 
    2324if test "x$GXX" = "xyes"; then 
    2425  # Use -Wall if we have gcc. This gives better warnings 
    2526  AC_SUBST([CXXFLAGS_STRICT], ['-Wall -Wundef']) 
    26   # Use -rdynamic if we have gcc. This is needed for backtrace 
    27   AC_SUBST([LDADD_RDYNAMIC], ['-rdynamic']) 
     27 
     28  # Use -rdynamic if we have gcc, but not mingw. This is needed for backtrace 
     29  case $target_os in 
     30    mingw*) ;; 
     31    *) AC_SUBST([LDADD_RDYNAMIC], ['-rdynamic']) ;; 
     32  esac 
    2833fi 
    2934