Another fix for Fedora, needed for building MEX for Octave
parent
74d7c8a7f4
commit
a922505bbe
|
@ -1,6 +1,6 @@
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
dnl Copyright © 2009-2019 Dynare Team
|
dnl Copyright © 2009-2020 Dynare Team
|
||||||
dnl
|
dnl
|
||||||
dnl This file is part of Dynare.
|
dnl This file is part of Dynare.
|
||||||
dnl
|
dnl
|
||||||
|
@ -27,6 +27,8 @@ test "$MKOCTFILE" = no && AC_MSG_ERROR([Octave cannot be found])
|
||||||
|
|
||||||
CC=$($MKOCTFILE -p CC)
|
CC=$($MKOCTFILE -p CC)
|
||||||
CXX=$($MKOCTFILE -p CXX)
|
CXX=$($MKOCTFILE -p CXX)
|
||||||
|
AR=$($MKOCTFILE -p AR)
|
||||||
|
RANLIB=$($MKOCTFILE -p RANLIB)
|
||||||
CFLAGS="$($MKOCTFILE -p CFLAGS) -Wall -Wno-parentheses"
|
CFLAGS="$($MKOCTFILE -p CFLAGS) -Wall -Wno-parentheses"
|
||||||
FCFLAGS="$($MKOCTFILE -p FFLAGS) -Wall -std=gnu" # Override -std=legacy that is in FFLAGS in Octave 5
|
FCFLAGS="$($MKOCTFILE -p FFLAGS) -Wall -std=gnu" # Override -std=legacy that is in FFLAGS in Octave 5
|
||||||
FFLAGS="$($MKOCTFILE -p FFLAGS) -Wall"
|
FFLAGS="$($MKOCTFILE -p FFLAGS) -Wall"
|
||||||
|
|
|
@ -65,6 +65,8 @@ fi
|
||||||
: ${CXXPICFLAG=""}
|
: ${CXXPICFLAG=""}
|
||||||
: ${XTRA_CFLAGS="-fopenmp"}
|
: ${XTRA_CFLAGS="-fopenmp"}
|
||||||
: ${XTRA_CXXFLAGS="-fopenmp"}
|
: ${XTRA_CXXFLAGS="-fopenmp"}
|
||||||
|
: ${AR="x86_64-w64-mingw32-ar"}
|
||||||
|
: ${RANLIB="x86_64-w64-mingw32-ranlib"}
|
||||||
|
|
||||||
: ${DEPEND_FLAGS="-M"}
|
: ${DEPEND_FLAGS="-M"}
|
||||||
: ${DEPEND_EXTRA_SED_PATTERN=""}
|
: ${DEPEND_EXTRA_SED_PATTERN=""}
|
||||||
|
|
Loading…
Reference in New Issue