Skip to content

Commit

Permalink
Fixed mingw windows debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
ice0 committed Jun 23, 2018
1 parent 2da2e14 commit dc3f45f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synfig-core/m4/subs.m4
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ AC_DEFUN([AC_ARG_DEBUG],
case "$debug" in
yes)
debug_flags="-D_DEBUG -g -O0"
CXXFLAGS="`echo $CXXFLAGS | sed s:-O.::` $debug_flags -fno-inline"
BIGOBJ_FLAGS=""
($CC --version | grep -q mingw) && BIGOBJ_FLAGS="-Wa,-mbig-obj"
CXXFLAGS="`echo $CXXFLAGS | sed s:-O.::` $debug_flags -fno-inline $BIGOBJ_FLAGS"
CFLAGS="`echo $CFLAGS | sed s:-O.::` $debug_flags"
;;
no|*)
Expand Down

0 comments on commit dc3f45f

Please sign in to comment.