]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add -bind_at_load to LDFLAGS
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Nov 2006 16:17:01 +0000 (16:17 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Nov 2006 16:17:01 +0000 (16:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@14216 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index 5c0ed9aa4afd36383679463e8836411194e966ce..227c270966e950e431a28d23a94a02f9595838f0 100644 (file)
@@ -473,10 +473,14 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
 
     dnl Some system specific things
     case "$target" in
-      dnl Use -Wno-long-long on Apple Darwin to avoid some unnecessary warning
+      dnl Use -Wno-long-long on Apple Darwin to avoid some unnecessary warning.
+      dnl Also use -bind_at_load as a linker flag because sometimes the
+      dnl linker complains about __divdi3 being available from both libgcc
+      dnl as well as from libg2c
       *apple-darwin*)
        CXXFLAGSG="$CXXFLAGSG -Wno-long-double"
        CXXFLAGSO="$CXXFLAGSO -Wno-long-double"
+       LDFLAGS="$LDFLAGS -bind_at_load"
         ;;
 
       dnl On DEC OSF, including both stdio.h and unistd.h causes a warning
index d8428ae863a71395dc3fff107f9dbd583c5178a8..0c93e1a2b87b23ee03ad3c2db7360e8053e5e07e 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 14038 .
+# From configure.in Revision: 14184 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for deal.II 5.3.pre.
 #
@@ -3354,9 +3354,10 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     fi
 
         case "$target" in
-            *apple-darwin*)
+                              *apple-darwin*)
        CXXFLAGSG="$CXXFLAGSG -Wno-long-double"
        CXXFLAGSO="$CXXFLAGSO -Wno-long-double"
+       LDFLAGS="$LDFLAGS -bind_at_load"
         ;;
 
                               *dec-osf*)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.