biology/cufflinks: Fix build on i386 by removing the hard-coded -m64

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2019-05-29 07:02:28 +00:00
parent 03a63ca6f6
commit af04051df9

View 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],