mirror of https://gitlab.com/ita1024/waf.git
Update check_endianness() example to show that the return value needs to be used
This commit is contained in:
parent
166fa49679
commit
e6b150fac9
|
@ -38,7 +38,9 @@ def configure(conf):
|
|||
conf.check(lib='m', cflags='-Wall', defines=['var=foo', 'x=y'], uselib_store='M', mandatory=False)
|
||||
conf.check_large_file(mandatory=False)
|
||||
conf.check_inline()
|
||||
conf.check_endianness()
|
||||
|
||||
endianness = conf.check_endianness()
|
||||
conf.define_cond("BIG_ENDIAN", endianness == "big")
|
||||
|
||||
def test_build(ctx):
|
||||
ctx(rule='echo hello', shell=True, always=True)
|
||||
|
|
Loading…
Reference in New Issue