diff options
author | Markus Dittrich <markusle@gentoo.org> | 2006-04-11 04:58:06 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2006-04-11 04:58:06 +0000 |
commit | 85d64d0dc2206085146d9f87e3bf7172d2246c78 (patch) | |
tree | 3a9b6085da9d87a7bf614c37962c423f97c02dd7 /sci-libs/fftw/files | |
parent | Stable on x86; version that doesn't seem to suffer from death bug (diff) | |
download | historical-85d64d0dc2206085146d9f87e3bf7172d2246c78.tar.gz historical-85d64d0dc2206085146d9f87e3bf7172d2246c78.tar.bz2 historical-85d64d0dc2206085146d9f87e3bf7172d2246c78.zip |
Removed 3dnow use flag since building of shared libs is currently broken on k7 (see bug #125218). Also, added patch to fix compilation failure with altivec support.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'sci-libs/fftw/files')
-rw-r--r-- | sci-libs/fftw/files/fftw-altivec-headers.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sci-libs/fftw/files/fftw-altivec-headers.patch b/sci-libs/fftw/files/fftw-altivec-headers.patch new file mode 100644 index 000000000000..baade9bfec66 --- /dev/null +++ b/sci-libs/fftw/files/fftw-altivec-headers.patch @@ -0,0 +1,26 @@ +--- configure.ac ++++ configure.ac +@@ -230,6 +230,12 @@ + fi + AC_SUBST(SIMD_CFLAGS) + ++dnl Some headers require the simd cflags (like altivec.h) ++save_CFLAGS="$CFLAGS" ++save_CPPFLAGS="$CPPFLAGS" ++CFLAGS="$CFLAGS $SIMD_CFLAGS" ++CPPFLAGS="$CPPFLAGS $SIMD_CFLAGS" ++ + dnl Checks for header files. + AC_HEADER_STDC + AC_CHECK_HEADERS([libintl.h malloc.h stddef.h stdlib.h string.h strings.h sys/time.h unistd.h limits.h c_asm.h intrinsics.h stdint.h mach/mach_time.h sys/sysctl.h altivec.h]) +@@ -237,6 +243,10 @@ + dnl intrinsics.h: cray unicos + dnl sys/sysctl.h: MacOS X altivec detection + ++dnl restore normal flags ++CFLAGS="$save_CFLAGS" ++CPPFLAGS="$save_CPPFLAGS" ++ + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST + AC_C_INLINE |