summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-02-22 14:53:46 -0800
committerH. Peter Anvin <hpa@zytor.com>2018-02-22 14:53:46 -0800
commit281f5bd92c3f2eb820e29d5d8893d718e6428372 (patch)
treeaeb41dd4ecdf24f108f680bf7717b3cfbed55aed /configure.ac
parent6686fc627ec2f805bc74599912c46d0ee1a4047c (diff)
parent4dbf3a96a4b17add396ea4592a7fde7cb8083d52 (diff)
downloadnasm-281f5bd92c3f2eb820e29d5d8893d718e6428372.tar.gz
Merge branch 'master' of ssh://repo.or.cz/srv/git/nasm
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4e27bb3e..44c9e179 100644
--- a/configure.ac
+++ b/configure.ac
@@ -288,6 +288,13 @@ PA_ARG_ENABLED([werror],
)
dnl
+dnl On some versions of gcc, -Werror=missing-prototypes causes problems
+dnl with C99-style external inlines. Test this *after* adding the -Werror
+dnl options.
+dnl
+PA_CHECK_BAD_STDC_INLINE
+
+dnl
dnl support ccache
dnl
PA_ARG_ENABLED([ccache], [compile with ccache], [CC="ccache $CC"], [])