summaryrefslogtreecommitdiff
path: root/security/cryptopp/files/patch-GNUmakefile
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2014-02-05 19:32:00 +0000
committerEitan Adler <eadler@FreeBSD.org>2014-02-05 19:32:00 +0000
commite376724077f69a9360449e9f401f883088aeb108 (patch)
treec42a3e54d1d807f6467be950bb749edc1c0fa74a /security/cryptopp/files/patch-GNUmakefile
parentnet/gini: Mark jobs unsafe (diff)
- Modernize port:
- Stagify - USES=gmake instead of USE_GMAKE - Don't build with -march=native as the build box may not be identical to the run box.
Diffstat (limited to 'security/cryptopp/files/patch-GNUmakefile')
-rw-r--r--security/cryptopp/files/patch-GNUmakefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/security/cryptopp/files/patch-GNUmakefile b/security/cryptopp/files/patch-GNUmakefile
index 1a8d60ec4520..82a7ad452030 100644
--- a/security/cryptopp/files/patch-GNUmakefile
+++ b/security/cryptopp/files/patch-GNUmakefile
@@ -1,12 +1,21 @@
---- GNUmakefile.orig 2013-02-20 15:30:52.000000000 -0800
-+++ GNUmakefile 2013-05-22 15:43:40.000000000 -0700
+--- ./GNUmakefile.orig 2013-02-20 15:30:52.000000000 -0500
++++ ./GNUmakefile 2014-02-05 14:26:22.994957010 -0500
@@ -1,4 +1,4 @@
-CXXFLAGS = -DNDEBUG -g -O2
+#CXXFLAGS = -DNDEBUG -g -O2
# -O3 fails to link on Cygwin GCC version 4.5.3
# -fPIC is supported. Please report any breakage of -fPIC as a bug.
# CXXFLAGS += -fPIC
-@@ -165,7 +165,7 @@
+@@ -38,8 +38,6 @@
+ ifneq ($(GCC42_OR_LATER),0)
+ ifeq ($(UNAME),Darwin)
+ CXXFLAGS += -arch x86_64 -arch i386
+-else
+-CXXFLAGS += -march=native
+ endif
+ endif
+
+@@ -165,7 +163,7 @@
$(RANLIB) $@
libcryptopp.so: $(LIBOBJS)