chiark / gitweb /
build-sys: properly quote m4 macro arguments in CC_CHECK_FLAGS_APPEND
authorFilipe Brandenburger <filbranden@google.com>
Tue, 22 Sep 2015 16:41:32 +0000 (09:41 -0700)
committerSven Eden <yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:10 +0000 (10:45 +0200)
commitde2820284a3c2905f0a76bf3fd196ce3a37f775a
treef21ef5e2c4ee9995584cccd6fa8ca9efeb79bab1
parent1fb205729747c2a77848d2ddf18c4ed720dc319c
build-sys: properly quote m4 macro arguments in CC_CHECK_FLAGS_APPEND

The variables should be quoted inside [...] to avoid double macro
expansion.  This is currently not an issue, since the values (-W...) are
not really macros, but we might as well just fix that issue now.

Tested by re-running autogen.sh and comparing the value of OUR_CFLAGS in
the generated Makefile.  Ran a full build from a clean tree to confirm
no other issues were introduced.
m4/attributes.m4