diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2016-04-07 23:36:53 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2016-04-07 23:37:41 +0300 |
commit | 96134c7fea68cce392bf4e08bf1c4520b8742b1e (patch) | |
tree | 79e2f7a2747620c01f487b53b91143d3b9e8e7b5 /dev-libs/crypto++ | |
parent | 6edca6b364c1751cd0834bfaf61e9669a715b1c8 (diff) | |
download | gentoo-96134c7fea68cce392bf4e08bf1c4520b8742b1e.tar.gz gentoo-96134c7fea68cce392bf4e08bf1c4520b8742b1e.tar.xz |
dev-libs/crypto++: fix CXXFLAGS override
Bug: 579200
Thanks-To: Marshall McMullen
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-libs/crypto++')
-rw-r--r-- | dev-libs/crypto++/files/crypto++-5.6.2-r1-make.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/crypto++/files/crypto++-5.6.2-r1-make.patch b/dev-libs/crypto++/files/crypto++-5.6.2-r1-make.patch index 854d8d79dba..fa1672328c1 100644 --- a/dev-libs/crypto++/files/crypto++-5.6.2-r1-make.patch +++ b/dev-libs/crypto++/files/crypto++-5.6.2-r1-make.patch @@ -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 <alon.barlev@gmail.com> +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 + |