| 1 |
Descriptionscip-debian debian parafly 0.1.0-5 parafly/patches/`m64.patch`#Description.: get rid of mandatory m64 compiler flag |
| 2 |
This patch gets rid of the mandatory '-m64' compiler flag which |
| 3 |
makes parafly FTBFS on non-64bits arches. |
| 4 |
There is need to ensure 'Makefile' and 'configure' files are |
| 5 |
generated at build time for the flag to don't appear again. |
| 6 |
. |
| 7 |
This was tested on mipsel; other arches may benefit as well. |
| 8 |
Authorscip-debian debian parafly 0.1.0-5 parafly/patches/`m64.patch`#Author.: Arturo Borrero Gonzalez <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 9 |
Bug-Debianscip-debian debian parafly 0.1.0-5 parafly/patches/`m64.patch`#Bug-Debian.: https://bugs.debian.org/786995scip-debian-bts debian-bts . . 786995: |
| 10 |
Forwardedscip-debian debian parafly 0.1.0-5 parafly/patches/`m64.patch`#Forwarded.: not-needed |
| 11 |
Last-Updatescip-debian debian parafly 0.1.0-5 parafly/patches/`m64.patch`#Last-Update.: 2015-06-25 |
| 12 |
|
| 13 |
--- parafly-0.0.2013.01.21.orig/configure.acscip-debian debian parafly 0.1.0-5 parafly/upstream/`parafly-0.0.2013.01.21.orig/configure.ac`: |
| 14 |
+++ parafly-0.0.2013.01.21/configure.acscip-debian debian parafly 0.1.0-5 parafly/upstream/`parafly-0.0.2013.01.21/configure.ac`: |
| 15 |
@@ -3,7 +3,7 @@ AM_INIT_AUTOMAKE([foreign -Wall -Werror] |
| 16 |
AC_LANG([C++]) |
| 17 |
AC_PROG_CXX |
| 18 |
#AC_OPENMP # requires autoconf >= 2.62 |
| 19 |
|
| 20 |
+AC_SUBST([AM_CXXFLAGS], []) |
| 21 |
case $CXX in |
| 22 |
g++*) AC_SUBST([AM_CXXFLAGS],["-pedantic -fopenmp -Wall -Wextra -Wno-long-long -Wno-deprecated $AM_CXXFLAGS"]);; |
| 23 |
sunCC*) AC_SUBST([AM_CXXFLAGS], ["-library=stlport4 -xopenmp -xvpara -fast $AM_CXXFLAGS"]) ;; |