Enable -Wa,q for MacPort GCC/Clang integrated assembler

pull/200/head
Jeffrey Walton 2016-06-15 18:58:02 -04:00
parent db614269de
commit 2cc5084d7a
1 changed files with 7 additions and 0 deletions

View File

@ -166,6 +166,13 @@ endif
endif
endif
# Tell MacPorts GCC to use Clang integrated assembler
ifeq ($(GCC_COMPILER)$(MACPORTS_COMPILER),11)
ifneq ($(findstring -Wa,q,$(CXXFLAGS)),-Wa,q)
CXXFLAGS += -Wa,q
endif
endif
# Allow use of "/" operator for GNU Assembler.
# http://sourceware.org/bugzilla/show_bug.cgi?id=4572
ifeq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CXXFLAGS)),)