]> git.ipfire.org Git - thirdparty/glibc.git/commit
cet: Pass -mshstk to compiler for tst-cet-legacy-10a[-static].c
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 16 Dec 2024 22:18:55 +0000 (06:18 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Dec 2024 17:20:16 +0000 (01:20 +0800)
commit215447f5cbcf1a494cded57734f68d7f9c2b0dc0
tree102b087a145261e064097292bb94d7ca78eb8ab9
parentcff9648d0b50d19cdaf685f6767add040d4e1a8e
cet: Pass -mshstk to compiler for tst-cet-legacy-10a[-static].c

Pass -mshstk to compiler to silence Clang:

In file included from ../sysdeps/x86_64/tst-cet-legacy-10a.c:2:
../sysdeps/x86_64/tst-cet-legacy-10.c:29:7: error: always_inline function '_get_ssp' requires target feature 'shstk', but would be inlined into function 'do_test' that is compiled without support for 'shstk'
   29 |   if (_get_ssp () != 0)
      |       ^

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
sysdeps/x86_64/Makefile