]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use the correct PIC flag for newer xlC versions
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 26 Sep 2007 03:43:36 +0000 (03:43 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 26 Sep 2007 03:43:36 +0000 (03:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@15243 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 9a2f9c32808d3e96994615195dcdb21d4755b22d..d2a7401ce4a49b146725eed27a1979869a85c10d 100644 (file)
@@ -557,8 +557,8 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
       ibm_xlc)
           CXXFLAGSG="$CXXFLAGS -DDEBUG -check=bounds -info=all -qrtti=all"
           CXXFLAGSO="$CXXFLAGS -O2 -w -qansialias -qrtti=all"
-          CXXFLAGSPIC="-fPIC"
-          LDFLAGSPIC="-fPIC"
+          CXXFLAGSPIC="-qpic"
+          LDFLAGSPIC="-qpic"
           ;;
   
       MIPSpro*)
index 8055a6edbb1a1508dfb144e9413b4d7a0b1e11bd..3348efc396d76284b95143621bd3d3f420a71426 100755 (executable)
@@ -4175,8 +4175,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ibm_xlc)
           CXXFLAGSG="$CXXFLAGS -DDEBUG -check=bounds -info=all -qrtti=all"
           CXXFLAGSO="$CXXFLAGS -O2 -w -qansialias -qrtti=all"
-          CXXFLAGSPIC="-fPIC"
-          LDFLAGSPIC="-fPIC"
+          CXXFLAGSPIC="-qpic"
+          LDFLAGSPIC="-qpic"
           ;;
 
       MIPSpro*)

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.