]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 1 Mar 2012 19:31:48 +0000 (19:31 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 1 Mar 2012 19:31:48 +0000 (19:31 +0000)
PerlMagick/Makefile.PL
config/configure.xml
libtool
m4/ax_gcc_archflag.m4

index 052300602369daf76caf175e93a20030b22214fa..d0290eb92cd7f2ec7c956bbb005bac5204e60031 100644 (file)
@@ -158,7 +158,7 @@ foreach my $delegate (@tested_delegates) {
 # defaults for LIBS & INC & CCFLAGS params that we later pass to Writemakefile
 my $INC_magick = '-I../ -I.. -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/graphviz -I/usr/include/freetype2 -I/usr/include/libxml2 -I"' . $Config{'usrinc'} . '/ImageMagick"';
 my $LIBS_magick = '-L../MagickCore/.libs -lMagickCore -lperl -lm';
-my $CCFLAGS_magick = "$Config{'ccflags'} -fopenmp -g -O2 -Wall -mtune=amdfam10 -pthread";
+my $CCFLAGS_magick = "$Config{'ccflags'} -fopenmp -g -O2 -Wall -mtune=native -pthread";
 my $LDFLAGS_magick   = "-L../MagickCore/.libs -lMagickCore $Config{'ldflags'} -L/usr/lib";
 my $LDDLFLAGS_magick = "-L../MagickCore/.libs -lMagickCore $Config{'lddlflags'} -L/usr/lib";
 
index 0284ea86aed83758c0b8d15c1650d5759142e353..486eeed32feb4caa08f90e6a6e2aeea8d67dafa2 100644 (file)
@@ -12,7 +12,7 @@
   <configure name="LIB_VERSION_NUMBER" value="7,0,0,0"/>
   <configure name="SVN_REVISION" value="7001" />
   <configure name="RELEASE_DATE" value="2012-03-01"/>
-  <configure name="CONFIGURE" value="./configure "/>
+  <configure name="CONFIGURE" value="configure  '--with-gcc-arch=native'"/>
   <configure name="PREFIX" value="/usr/local"/>
   <configure name="EXEC-PREFIX" value="/usr/local"/>
   <configure name="INCLUDE_PATH" value="/usr/local/include/ImageMagick"/>
@@ -24,7 +24,7 @@
   <configure name="CODER_PATH" value="/usr/local/lib/ImageMagick-7.0.0/modules-Q16/coders"/>
   <configure name="FILTER_PATH" value="/usr/local/lib/ImageMagick-7.0.0/modules-Q16/filters"/>
   <configure name="CC" value="gcc -std=gnu99 -std=gnu99"/>
-  <configure name="CFLAGS" value="-fopenmp -g -O2 -Wall -mtune=amdfam10 -pthread"/>
+  <configure name="CFLAGS" value="-fopenmp -g -O2 -Wall -mtune=native -pthread"/>
   <configure name="CPPFLAGS" value="-I/usr/local/include/ImageMagick"/>
   <configure name="PCFLAGS" value="-fopenmp"/>
   <configure name="DEFS" value="-DHAVE_CONFIG_H"/>
diff --git a/libtool b/libtool
index 6ea6d80871639a7108de6d0e7b1459466f4ceed5..3a329b17e571a7216bb7a13dd11edc7f96925e28 100755 (executable)
--- a/libtool
+++ b/libtool
@@ -167,7 +167,7 @@ lock_old_archive_extraction=no
 LTCC="gcc -std=gnu99 -std=gnu99"
 
 # LTCC compiler flags.
-LTCFLAGS="-fopenmp -g -O2 -Wall -mtune=amdfam10 -pthread"
+LTCFLAGS="-fopenmp -g -O2 -Wall -mtune=native -pthread"
 
 # Take the output of nm and produce a listing of raw symbols and C names.
 global_symbol_pipe="sed -n -e 's/^.*[   ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[       ][      ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
index 3fd050e7a95da07dcd7ca0725b74f4728a4c6e41..bc79b24d6b56f7688e3dccb2bbea36fc33caca38 100644 (file)
@@ -71,7 +71,7 @@ AC_DEFUN([AX_GCC_ARCHFLAG],
 AC_REQUIRE([AC_CANONICAL_HOST])
 
 AC_ARG_WITH(gcc-arch, [AS_HELP_STRING([--with-gcc-arch=<arch>], [use architecture <arch> for gcc -march/-mtune, instead of guessing])],
-       ax_gcc_arch=$withval, ax_gcc_arch=yes)
+       ax_gcc_arch=$withval, ax_gcc_arch=no)
 
 AC_MSG_CHECKING([for gcc architecture flag])
 AC_MSG_RESULT([])