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
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue