Unverified Commit a922505b authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Another fix for Fedora, needed for building MEX for Octave

parent 74d7c8a7
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"
FCFLAGS="$($MKOCTFILE -p FFLAGS) -Wall -std=gnu" # Override -std=legacy that is in FFLAGS in Octave 5
FFLAGS="$($MKOCTFILE -p FFLAGS) -Wall"
......
......@@ -65,6 +65,8 @@ fi
: ${CXXPICFLAG=""}
: ${XTRA_CFLAGS="-fopenmp"}
: ${XTRA_CXXFLAGS="-fopenmp"}
: ${AR="x86_64-w64-mingw32-ar"}
: ${RANLIB="x86_64-w64-mingw32-ranlib"}
: ${DEPEND_FLAGS="-M"}
: ${DEPEND_EXTRA_SED_PATTERN=""}
......
Supports Markdown
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