Enable -Wa,--divide for GCC/GAS on Solaris (Binutil PR 4572)

pull/200/head
Jeffrey Walton 2016-06-15 09:55:10 -04:00
parent b1df5736a7
commit 8d940f1c3f
1 changed files with 7 additions and 6 deletions

View File

@ -166,12 +166,13 @@ endif
endif endif
endif endif
# Allow use of "/" operator for GNU Assembler # Allow use of "/" operator for GNU Assembler.
# ifeq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CXXFLAGS)),) # http://sourceware.org/bugzilla/show_bug.cgi?id=4572
# ifeq ($(IS_GAS),1) ifeq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CXXFLAGS)),)
# CXXFLAGS += -Wa,--divide ifeq ($(IS_SUN)$(GCC_COMPILER),11)
# endif CXXFLAGS += -Wa,--divide
# endif endif
endif
ifeq ($(UNAME),) # for DJGPP, where uname doesn't exist ifeq ($(UNAME),) # for DJGPP, where uname doesn't exist
CXXFLAGS += -mbnu210 CXXFLAGS += -mbnu210