mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: wscript: explicitly set language for libc tests in multicheck, as Waf chooses C++ by default
Compiling tgmath.h test with C++ compiler causes misdetection on PSVita which has broken tgmath.h support.
This commit is contained in:
@@ -118,7 +118,7 @@ def configure(conf):
|
||||
|
||||
def check_libc_extension(frag, msg, define):
|
||||
exports_list.append(define)
|
||||
return {'fragment': frag, 'msg': 'Checking for ' + msg, 'define_name': define, 'mandatory': False, 'use': 'M werror export'}
|
||||
return {'fragment': frag, 'msg': 'Checking for ' + msg, 'define_name': define, 'mandatory': False, 'use': 'M werror export', 'features': 'cprogram'}
|
||||
|
||||
conf.multicheck(
|
||||
check_libc_extension(TGMATH_H_TEST, 'tgmath.h', 'HAVE_TGMATH_H'),
|
||||
|
||||
Reference in New Issue
Block a user