Debian Codegraph @

debian/patches/m64.patch

raw symbols SCIP
1 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 Author: Arturo Borrero Gonzalez <[email protected]>
9 Bug-Debian: https://bugs.debian.org/786995
10 Forwarded: not-needed
11 Last-Update: 2015-06-25
12
13 --- parafly-0.0.2013.01.21.orig/configure.ac
14 +++ 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 -AC_SUBST([AM_CXXFLAGS], [-m64])
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"]) ;;