Permalink
Browse files

Compile Crimson.CryptoDev.dll with -optimize flag by default (not -de…

…bug)
  • Loading branch information...
1 parent 84f23a9 commit 676e2bf300dfa541e4ca93cdc720d498430ad37c @amatai amatai committed Sep 7, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 class/Crimson.CryptoDev/Makefile
@@ -1,5 +1,8 @@
CSC=gmcs
+CSC_FLAGS= -optimize
+#CSC_FLAGS= -debug
+
SOURCES = \
Crimson.CryptoDev/CryptoDev.cs \
Crimson.CryptoDev/CryptoDevTransform.cs \
@@ -27,7 +30,7 @@ $(GENERATED_SOURCES): tools/generator.exe
mono tools/generator.exe Crimson.Security.Cryptography
Crimson.CryptoDev.dll: $(SOURCES) $(GENERATED_SOURCES)
- $(CSC) -debug $(SOURCES) $(GENERATED_SOURCES) -t:library -unsafe -out:$@ -keyfile:../crimson.snk
+ $(CSC) $(CSC_FLAGS) $(SOURCES) $(GENERATED_SOURCES) -t:library -unsafe -out:$@ -keyfile:../crimson.snk
torture.exe: Crimson.CryptoDev.dll tools/torture.cs
dmcs -debug tools/torture.cs -r:Crimson.CryptoDev.dll -out:torture.exe

0 comments on commit 676e2bf

Please sign in to comment.