Skip to content
Snippets Groups Projects
Verified 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
Branches
Tags
No related merge requests found
Pipeline #4377 passed
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=""}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment