summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-08-22 15:56:27 -0700
committerH.J. Lu <hjl.tools@gmail.com>2025-08-22 17:56:09 -0700
commitee06d98c5b9161fcaa03c562860d6ec4a8700cd2 (patch)
treeb25b9a7c1ea764498b82873793abe23e35502971 /Makefile.in
parentdd4394b2493940ce0ec4525a21be4e2e9db483d0 (diff)
Don't use -Wfree-labels/-Wmissing-parameter-name if unsupported
Don't use -Wfree-labels/-Wmissing-parameter-name for "make check" if they are unsupported by TEST_CC. This fixes BZ #33310. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 809aa6443f..5b872a72a3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -26,6 +26,8 @@ check xcheck test:
config-cflags-mprefer-vector-width="$(test-config-cflags-mprefer-vector-width)" \
config-cflags-signaling-nans="$(test-config-cflags-signaling-nans)" \
config-cflags-wno-ignored-attributes="$(test-config-cflags-wno-ignored-attributes)" \
+ cc-option-wfree-labels="$(test-cc-option-wfree-labels)" \
+ cc-option-wmissing-parameter-name="$(test-cc-option-wmissing-parameter-name)" \
enable-cet="$(test-enable-cet)" \
have-mamx-tile="$(test-have-mamx-tile)" \
have-static-pie="$(test-have-static-pie)" \