summaryrefslogtreecommitdiffstats
path: root/armory/build/armory_makefile.patch
blob: 18522757b0d0c136dff7447f9daa5d1307365565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff -uar armory-0.91-dev_20140317.orig/cppForSwig/cryptopp/Makefile armory-0.91-dev_20140317/cppForSwig/cryptopp/Makefile
--- armory-0.91-dev_20140317.orig/cppForSwig/cryptopp/Makefile	2014-03-17 11:35:54.000000000 +0100
+++ armory-0.91-dev_20140317/cppForSwig/cryptopp/Makefile	2014-03-17 11:57:27.605968313 +0100
@@ -1,4 +1,4 @@
-CXXFLAGS = -DNDEBUG -g -O2
+CXXFLAGS += -DNDEBUG
 #CXXFLAGS = -g
 # -fPIC is supported. Please report any breakage of -fPIC as a bug.
 CXXFLAGS += -fPIC
@@ -36,9 +36,6 @@
 ifneq ($(GCC42_OR_LATER),0)
 ifeq ($(UNAME),Darwin)
 CXXFLAGS += -arch x86_64 -arch i386
-else
-#CXXFLAGS += -march=native
-CXXFLAGS += -mtune=generic
 endif
 endif
 
@@ -74,8 +71,6 @@
 
 ifeq ($(UNAME),)	# for DJGPP, where uname doesn't exist
 CXXFLAGS += -mbnu210
-else
-CXXFLAGS += -pipe
 endif
 
 ifeq ($(UNAME),Linux)