Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Build Crimson.CryptoDev.dll with -optimize by default, rather than -debug #1

Merged
merged 1 commit into from over 1 year ago

2 participants

Ajay Matai Sebastien Pouliot
Ajay Matai

Modified the Crimson.CryptoDev Makefile so that the dll is compiled with -optimize flag by default, rather than -debug.

Thanks,
--ajay

Sebastien Pouliot spouliot merged commit 5961278 into from September 07, 2012
Sebastien Pouliot spouliot closed this September 07, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Sep 07, 2012
Ajay Matai Compile Crimson.CryptoDev.dll with -optimize flag by default (not -de…
…bug)
676e2bf
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  class/Crimson.CryptoDev/Makefile
5  class/Crimson.CryptoDev/Makefile
... ...
@@ -1,5 +1,8 @@
1 1
 CSC=gmcs
2 2
 
  3
+CSC_FLAGS= -optimize
  4
+#CSC_FLAGS= -debug
  5
+
3 6
 SOURCES = \
4 7
 	Crimson.CryptoDev/CryptoDev.cs			\
5 8
 	Crimson.CryptoDev/CryptoDevTransform.cs		\
@@ -27,7 +30,7 @@ $(GENERATED_SOURCES): tools/generator.exe
27 30
 	mono tools/generator.exe Crimson.Security.Cryptography
28 31
 
29 32
 Crimson.CryptoDev.dll: $(SOURCES) $(GENERATED_SOURCES)
30  
-	$(CSC) -debug $(SOURCES) $(GENERATED_SOURCES) -t:library -unsafe -out:$@ -keyfile:../crimson.snk
  33
+	$(CSC) $(CSC_FLAGS) $(SOURCES) $(GENERATED_SOURCES) -t:library -unsafe -out:$@ -keyfile:../crimson.snk
31 34
 
32 35
 torture.exe: Crimson.CryptoDev.dll tools/torture.cs
33 36
 	dmcs -debug tools/torture.cs -r:Crimson.CryptoDev.dll -out:torture.exe
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.