From 149cbc6ce9ccdec4dbf3cee17d18b851997347db Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 1 Mar 2012 19:31:48 +0000 Subject: [PATCH] --- PerlMagick/Makefile.PL | 2 +- config/configure.xml | 4 ++-- libtool | 2 +- m4/ax_gcc_archflag.m4 | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PerlMagick/Makefile.PL b/PerlMagick/Makefile.PL index 052300602..d0290eb92 100644 --- a/PerlMagick/Makefile.PL +++ b/PerlMagick/Makefile.PL @@ -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"; diff --git a/config/configure.xml b/config/configure.xml index 0284ea86a..486eeed32 100644 --- a/config/configure.xml +++ b/config/configure.xml @@ -12,7 +12,7 @@ - + @@ -24,7 +24,7 @@ - + diff --git a/libtool b/libtool index 6ea6d8087..3a329b17e 100755 --- 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'" diff --git a/m4/ax_gcc_archflag.m4 b/m4/ax_gcc_archflag.m4 index 3fd050e7a..bc79b24d6 100644 --- a/m4/ax_gcc_archflag.m4 +++ b/m4/ax_gcc_archflag.m4 @@ -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=], [use architecture 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([]) -- 2.40.0