From 7df5970ca2b1776fb7a5c246e073187e31b465e4 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 5 May 2007 01:21:44 +0000 Subject: add -Wa,--divide for Solaris git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@357 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 9e6a7e0..ea54458 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 -- cgit v1.2.1