mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-26 03:39:53 +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:
parent
97302d9758
commit
317e3e8579
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user