forked from Lainports/freebsd-ports
biology/cufflinks: Fix build on i386 by removing the hard-coded -m64
Reported by: fallout
This commit is contained in:
parent
03a63ca6f6
commit
af04051df9
1 changed files with 16 additions and 0 deletions
16
biology/cufflinks/files/patch-configure.ac
Normal file
16
biology/cufflinks/files/patch-configure.ac
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
--- configure.ac.orig 2019-05-29 06:53:24 UTC
|
||||
+++ configure.ac
|
||||
@@ -77,9 +77,10 @@ case "${host_cpu}-${host_os}" in
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [ext_CFLAGS="-arch x86_64"], []);;
|
||||
*)
|
||||
AC_MSG_CHECKING([if gcc accepts -m64])
|
||||
- CFLAGS="-m64"
|
||||
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [ext_CFLAGS="-m64"; AC_MSG_RESULT([yes])],
|
||||
- [ext_CFLAGS="-D_FILE_OFFSET_BITS=64"; AC_MSG_RESULT([no])]);;
|
||||
+ #CFLAGS="-m64"
|
||||
+ CFLAGS="-D_FILE_OFFSET_BITS=64"
|
||||
+# AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [ext_CFLAGS="-m64"; AC_MSG_RESULT([yes])],
|
||||
+# [ext_CFLAGS="-D_FILE_OFFSET_BITS=64"; AC_MSG_RESULT([no])]);;
|
||||
esac
|
||||
|
||||
AC_ARG_ENABLE(vectorize, [ --enable-vectorize Enable GCC auto-vectorization],
|
||||
Loading…
Add table
Reference in a new issue