Another fix for Fedora, needed for building MEX for Octave

(manually cherry picked from commit a922505b)
parent 5389fa20
Pipeline #4378 passed with stages
in 286 minutes and 58 seconds
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 This file is part of Dynare.
dnl
......@@ -27,6 +27,8 @@ test "$MKOCTFILE" = no && AC_MSG_ERROR([Octave cannot be found])
CC=$($MKOCTFILE -p CC)
CXX=$($MKOCTFILE -p CXX)
AR=$($MKOCTFILE -p AR)
RANLIB=$($MKOCTFILE -p RANLIB)
CFLAGS="$($MKOCTFILE -p CFLAGS) -Wall -Wno-parentheses"
FFLAGS="$($MKOCTFILE -p FFLAGS) -Wall"
CXXFLAGS="$($MKOCTFILE -p CXXFLAGS) -Wall -Wno-parentheses -Wold-style-cast"
......
......@@ -65,6 +65,8 @@ fi
: ${CXXPICFLAG=""}
: ${XTRA_CFLAGS=""}
: ${XTRA_CXXFLAGS=""}
: ${AR="x86_64-w64-mingw32-ar"}
: ${RANLIB="x86_64-w64-mingw32-ranlib"}
: ${DEPEND_FLAGS="-M"}
: ${DEPEND_EXTRA_SED_PATTERN=""}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment