summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-05-05 01:21:44 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-05-05 01:21:44 +0000
commit7df5970ca2b1776fb7a5c246e073187e31b465e4 (patch)
treee86bb6efe362fd5a7950a6a3ab9a77141e7faddd /GNUmakefile
parent31cb57e4af3fa997eaf3ffaf0203463f013977bc (diff)
downloadcryptopp-7df5970ca2b1776fb7a5c246e073187e31b465e4.tar.gz
add -Wa,--divide for Solaris
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@357 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
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