From 64157fa5e000124c0ff5011bcbc7d6479895a68b Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 5 May 2007 01:21:44 +0000 Subject: [PATCH] add -Wa,--divide for Solaris --- GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 9e6a7e02..ea544580 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -37,6 +37,10 @@ endif ifeq ($(GAS210_OR_LATER),0) # .intel_syntax wasn't supported until GNU assembler 2.10 CXXFLAGS += -DCRYPTOPP_DISABLE_ASM +else +ifeq ($(UNAME),SunOS) +CXXFLAGS += -Wa,--divide # allow use of "/" operator +endif endif endif