mirror of git://sourceware.org/git/glibc.git
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: Sam James <sam@gentoo.org>
This commit is contained in:
parent
dd7122c057
commit
861d04967d
|
|
@ -6,6 +6,8 @@ test-cc-option-wimplicit-fallthrough = @libc_cv_test_cc_wimplicit_fallthrough@
|
|||
test-config-cflags-mprefer-vector-width = @libc_cv_test_cc_mprefer_vector_width@
|
||||
test-config-cflags-signaling-nans = @libc_cv_test_cc_signaling_nans@
|
||||
test-config-cflags-wno-ignored-attributes = @libc_cv_test_wno_ignored_attributes@
|
||||
test-cc-option-wfree-labels = @libc_cv_test_cc_wfree_labels@
|
||||
test-cc-option-wmissing-parameter-name = @libc_cv_test_cc_wmissing_parameter_name@
|
||||
test-enable-cet = @test_enable_cet@
|
||||
test-have-mamx-tile = @libc_cv_test_x86_have_amx_tile@
|
||||
test-have-static-pie = @libc_cv_test_static_pie@
|
||||
|
|
@ -26,6 +28,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)" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue