aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorLibravatarLibravatar William Ahern <william@solaris.(none)> 2013-12-27 06:33:56 -0800
committerLibravatarLibravatar William Ahern <william@solaris.(none)> 2013-12-27 06:33:56 -0800
commitf8a3e72a30728ba185dc1ac8b398de1aeae7b1b6 (patch)
tree89379af0ddcc211e9f9b0f243228b543db01ccfa /GNUmakefile
parent369fa2d4120b1dc1a63d0a743203695b0325b888 (diff)
downloadluaossl-f8a3e72a30728ba185dc1ac8b398de1aeae7b1b6.tar.gz
luaossl-f8a3e72a30728ba185dc1ac8b398de1aeae7b1b6.tar.bz2
luaossl-f8a3e72a30728ba185dc1ac8b398de1aeae7b1b6.zip
silence warnings with Solaris Studio compiler
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 113ef06..2955d86 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -110,6 +110,11 @@ endif
ifeq ($(VENDOR_CC_$(d)), sunpro)
CFLAGS_$(d) += -xcode=pic13
CFLAGS_$(d) += -g
+#
+# Solaris Studio has a brain-dead function call analyzer which counts
+# arguments before preprocessor expansion.
+#
+CFLAGS_$(d) += -erroff=E_ARGUEMENT_MISMATCH
endif
ifeq ($(VENDOR_OS_$(d)), Darwin)