dev-libs/crypto++: adjust darwin to new build

Package-Manager: portage-2.3.0
This commit is contained in:
Alon Bar-Lev
2016-10-08 11:08:08 +03:00
parent 57e5f28a91
commit 040b2cb49d

View File

@@ -38,7 +38,7 @@ src_compile() {
# higher optimizations cause problems
replace-flags -O3 -O2
# ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
[[ ${CHOST} == *-darwin* ]] && append-flags -DCRYPTOPP_DISABLE_X86ASM
[[ ${CHOST} == *-darwin* ]] && append-cxxflags -DCRYPTOPP_DISABLE_ASM
emake -f GNUmakefile all shared
}