]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: silence non-POSIX variable name warning
authorSami Kerola <kerolasa@iki.fi>
Thu, 24 Dec 2020 20:22:59 +0000 (20:22 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 11 Jan 2021 16:29:57 +0000 (16:29 +0000)
Easiest way to get rid of the following warning is to ignore the warning.
This might cause people who use non-GNU make to have hard time, but are
there such people compiling this project?

sys-utils/Makemodule.am:226: warning: addprefix sys-utils/,$(SETARCH_LINKS: non-POSIX variable name
sys-utils/Makemodule.am:226: (probably a GNU make extension)

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
configure.ac

index 03645b3f33e14ce7cb0ae04be7603dba048df948..d56598a6d285c695eb82d064dcc89703dbf34dd3 100644 (file)
@@ -11,7 +11,7 @@ AC_CONFIG_MACRO_DIR([m4])
 dnl AC_USE_SYSTEM_EXTENSIONS must be called before any macros that run
 dnl the compiler (like LT_INIT) to avoid autoconf errors.
 AC_USE_SYSTEM_EXTENSIONS
-AM_INIT_AUTOMAKE([-Wall foreign 1.10 tar-pax no-dist-gzip dist-xz subdir-objects])
+AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign 1.10 tar-pax no-dist-gzip dist-xz subdir-objects])
 
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
                            [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])