diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-05-05 01:21:44 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-05-05 01:21:44 +0000 |
commit | 7df5970ca2b1776fb7a5c246e073187e31b465e4 (patch) | |
tree | e86bb6efe362fd5a7950a6a3ab9a77141e7faddd /GNUmakefile | |
parent | 31cb57e4af3fa997eaf3ffaf0203463f013977bc (diff) | |
download | cryptopp-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-- | GNUmakefile | 4 |
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 |