From 148a5e917bc277572637c8b851b9d4f1417946f7 Mon Sep 17 00:00:00 2001 From: Tanzinul Islam Date: Sun, 30 Dec 2018 05:47:02 +0000 Subject: [PATCH] Avoid Clang integrated assembler on macOS PowerPC (GH #769) --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 1586353d..bd80e389 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -100,9 +100,9 @@ ifeq ($(wildcard adhoc.cpp),) $(shell cp adhoc.cpp.proto adhoc.cpp) endif -# Tell MacPorts and Homebrew GCC to use Clang integrated assembler +# Tell MacPorts and Homebrew GCC to use Clang integrated assembler (only on Intel-based Macs) # http://github.com/weidai11/cryptopp/issues/190 -ifeq ($(GCC_COMPILER)$(OSXPORT_COMPILER),11) +ifeq ($(GCC_COMPILER)$(OSXPORT_COMPILER)$(IS_PPC32)$(IS_PPC64),1100) ifeq ($(findstring -Wa,-q,$(CXXFLAGS)),) CXXFLAGS += -Wa,-q endif