2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

tools: c_tests: use stlib flag instead of shlib in check_endianness

shlib is no-op in some baremetal newlib based toolchains (for example in
riscv one), and causes the check to fail as the --dynamic flag is not
recognized
This commit is contained in:
Francescodario Cuzzocrea 2022-05-04 17:28:02 +02:00
parent 97302d9758
commit 317e3e8579
No known key found for this signature in database
GPG Key ID: 648682129E4933F9

View File

@ -230,7 +230,7 @@ def check_endianness(self):
def check_msg(self):
return tmp[0]
self.check(fragment=ENDIAN_FRAGMENT, features='c cshlib grep_for_endianness',
self.check(fragment=ENDIAN_FRAGMENT, features='c cstlib grep_for_endianness',
msg='Checking for endianness', define='ENDIANNESS', tmp=tmp,
okmsg=check_msg, confcache=None)
return tmp[0]