Enable -Wa,--divide for GCC/GAS on Solaris (Binutil PR 4572)
parent
b1df5736a7
commit
8d940f1c3f
13
GNUmakefile
13
GNUmakefile
|
|
@ -166,12 +166,13 @@ endif
|
|||
endif
|
||||
endif
|
||||
|
||||
# Allow use of "/" operator for GNU Assembler
|
||||
# ifeq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CXXFLAGS)),)
|
||||
# ifeq ($(IS_GAS),1)
|
||||
# CXXFLAGS += -Wa,--divide
|
||||
# endif
|
||||
# endif
|
||||
# Allow use of "/" operator for GNU Assembler.
|
||||
# http://sourceware.org/bugzilla/show_bug.cgi?id=4572
|
||||
ifeq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CXXFLAGS)),)
|
||||
ifeq ($(IS_SUN)$(GCC_COMPILER),11)
|
||||
CXXFLAGS += -Wa,--divide
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(UNAME),) # for DJGPP, where uname doesn't exist
|
||||
CXXFLAGS += -mbnu210
|
||||
|
|
|
|||
Loading…
Reference in New Issue