Skip to content

Commit

Permalink
Merge pull request #1 from mr-c/crossbuild
Browse files Browse the repository at this point in the history
Enable cross building
  • Loading branch information
brianjohnhaas committed Mar 11, 2021
2 parents 1fdec9c + c460613 commit cebb7de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ AC_INIT([Parafly], [0.1], [bug-report@address])
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AC_LANG([C++])
AC_PROG_CXX
#AC_OPENMP # requires autoconf >= 2.62
AC_SUBST([AM_CXXFLAGS], [-m64])
AC_OPENMP
AC_SUBST([AM_CXXFLAGS], [-m64 $OPENMP_CXXFLAGS])
case $CXX in
g++*) AC_SUBST([AM_CXXFLAGS],["-pedantic -fopenmp -Wall -Wextra -Wno-long-long -Wno-deprecated $AM_CXXFLAGS"]);;
g++*) AC_SUBST([AM_CXXFLAGS],["-pedantic -Wall -Wextra -Wno-long-long -Wno-deprecated $AM_CXXFLAGS"]);;
sunCC*) AC_SUBST([AM_CXXFLAGS], ["-library=stlport4 -xopenmp -xvpara -fast $AM_CXXFLAGS"]) ;;
icpc*) AC_SUBST([AM_CXXFLAGS], ["-Wall -openmp $AM_CXXFLAGS"]) ;;
esac
Expand Down

0 comments on commit cebb7de

Please sign in to comment.