Skip to content

Commit 3954adf

Browse files
committed
Fixed cryptopp compatibility issues
1 parent e658778 commit 3954adf

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

vendor/cryptopp/GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ GAS219_OR_LATER = $(shell $(CXX) -xc -c /dev/null -Wa,-v -o/dev/null 2>&1 | $(EG
4141
ifneq ($(GCC42_OR_LATER),0)
4242
ifeq ($(UNAME),Darwin)
4343
CXXFLAGS += -arch x86_64 -arch i386
44-
else
45-
CXXFLAGS += -march=native
44+
# else
45+
# CXXFLAGS += -march=native
4646
endif
4747
endif
4848

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
vendor/cryptopp/GNUmakefile | 4 ++--
2+
1 file changed, 2 insertions(+), 2 deletions(-)
3+
4+
diff --git a/vendor/cryptopp/GNUmakefile b/vendor/cryptopp/GNUmakefile
5+
index 087690d..79941b0 100644
6+
--- a/vendor/cryptopp/GNUmakefile
7+
+++ b/vendor/cryptopp/GNUmakefile
8+
@@ -41,8 +41,8 @@ GAS219_OR_LATER = $(shell $(CXX) -xc -c /dev/null -Wa,-v -o/dev/null 2>&1 | $(EG
9+
ifneq ($(GCC42_OR_LATER),0)
10+
ifeq ($(UNAME),Darwin)
11+
CXXFLAGS += -arch x86_64 -arch i386
12+
-else
13+
-CXXFLAGS += -march=native
14+
+# else
15+
+# CXXFLAGS += -march=native
16+
endif
17+
endif
18+

0 commit comments

Comments
 (0)