Skip to content

Commit

Permalink
dev-libs/crypto++: fix CXXFLAGS override
Browse files Browse the repository at this point in the history
Bug: 579200
Thanks-To: Marshall McMullen

Package-Manager: portage-2.2.26
  • Loading branch information
alonbl committed Apr 7, 2016
1 parent 6edca6b commit 96134c7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions dev-libs/crypto++/files/crypto++-5.6.2-r1-make.patch
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,29 @@
- $(CXX) $(CXXFLAGS) -c $<
+%.lo : %.cpp
+ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(CXXFLAGS) -c $<
From 0088b78b23ede2abb0e8ab08345ac334d8c1ad64 Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <[email protected]>
Date: Thu, 7 Apr 2016 23:30:48 +0300
Subject: [PATCH] build: remove native CXXFLAGS override

---
GNUmakefile | 3 ---
1 file changed, 3 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index b1ab537..a0c6c13 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -38,9 +38,7 @@ GAS219_OR_LATER = $(shell $(CXX) -xc -c /dev/null -Wa,-v -o/dev/null 2>&1 | $(EG
ifneq ($(GCC42_OR_LATER),0)
ifeq ($(UNAME),Darwin)
CXXFLAGS += -arch x86_64 -arch i386
-else
-CXXFLAGS += -march=native
endif
endif

ifneq ($(INTEL_COMPILER),0)
--
2.7.3

0 comments on commit 96134c7

Please sign in to comment.