Skip to content

Commit

Permalink
Always use debug flags for Mono to get decent stacktraces on error.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsfulton committed Mar 20, 2014
1 parent b0afd85 commit abd3139
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Examples/csharp/arrays/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -unsafe -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -unsafe -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/callback/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -debug -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/class/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/enum/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/extend/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/funcptr/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/nested/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/reference/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/simple/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/template/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion Examples/csharp/variables/Makefile
Expand Up @@ -5,7 +5,7 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
CSHARPSRCS = *.cs
CSHARPFLAGS= -nologo -out:runme.exe
CSHARPFLAGS= -nologo -debug+ -out:runme.exe

check: build
$(MAKE) -f $(TOP)/Makefile csharp_run
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -1755,7 +1755,7 @@ if test -z "$CSHARPBIN" ; then
echo "mcs is not a working Mono C# compiler"
fi
fi
if test "mcs" = "$CSHARPCOMPILER" || test "gmcs" = "$CSHARPCOMPILER"; then
if test "mcs" = "$CSHARPCOMPILER" || test "gmcs" = "$CSHARPCOMPILER" || test "mono-csc" = "$CSHARPCOMPILER"; then
AC_CHECK_PROGS(CSHARPCILINTERPRETER, mono) # Mono JIT
CSHARPCILINTERPRETER_FLAGS="--debug"
else
Expand Down

0 comments on commit abd3139

Please sign in to comment.