From 8ea51ad16ef6e78ae1b1c7bafd4baa566843bbff Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 7 May 2020 11:49:34 -0700 Subject: [PATCH] Update compiler flags and dc version suffic for Subsurface-NG We have a slightly different set of flags for mthe subsurface build, and we want the version to also say that this is our Subsurface-specific branch of libdc, not the upstream one. Signed-off-by: Linus Torvalds --- configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 51592b8..a914e7f 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ m4_define([dc_version_major],[0]) m4_define([dc_version_minor],[7]) m4_define([dc_version_micro],[0]) -m4_define([dc_version_suffix],[devel]) +m4_define([dc_version_suffix],[devel-Subsurface-NG]) m4_define([dc_version],dc_version_major.dc_version_minor.dc_version_micro[]m4_ifset([dc_version_suffix],-[dc_version_suffix])) # Libtool versioning. @@ -175,19 +175,21 @@ AC_CHECK_FUNCS([getopt_long]) # Checks for supported compiler options. AX_APPEND_COMPILE_FLAGS([ \ - -pedantic \ -Wall \ - -Wextra \ -Wshadow \ -Wrestrict \ -Wformat=2 \ -Wwrite-strings \ - -Wcast-qual \ -Wpointer-arith \ -Wstrict-prototypes \ -Wmissing-prototypes \ -Wmissing-declarations \ -Wno-unused-parameter \ + -Wno-unused-function \ + -Wno-unused-variable \ + -Wno-unused-but-set-variable \ + -Wno-pointer-sign \ + -Wno-shadow \ -fmacro-prefix-map='$(top_srcdir)/'= \ ])