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

Build system: adding -Wall when building MEX files

parent 85f855d7
...@@ -50,6 +50,9 @@ case ${host_os} in ...@@ -50,6 +50,9 @@ case ${host_os} in
;; ;;
esac esac
CFLAGS="$CFLAGS -Wall"
CXXFLAGS="$CXXFLAGS -Wall"
AC_PROG_CC AC_PROG_CC
AC_PROG_CXX AC_PROG_CXX
AC_PROG_RANLIB AC_PROG_RANLIB
......
...@@ -31,6 +31,9 @@ if test "x$MKOCTFILE" != "x"; then ...@@ -31,6 +31,9 @@ if test "x$MKOCTFILE" != "x"; then
CXXFLAGS=`$MKOCTFILE -p CXXFLAGS` CXXFLAGS=`$MKOCTFILE -p CXXFLAGS`
fi fi
CFLAGS="$CFLAGS -Wall"
CXXFLAGS="$CXXFLAGS -Wall"
AC_PROG_CC AC_PROG_CC
AC_PROG_CXX AC_PROG_CXX
AC_PROG_RANLIB AC_PROG_RANLIB
......
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