Skip to content

Commit 2aea5fc

Browse files
committed
Try to stop Clang 17+ warn on undefining __STDC_HOSTED__
1 parent 27ccec9 commit 2aea5fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/trusted/service_runtime/build.scons

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ if (env.Bit('linux') and not env.Bit('built_elsewhere')):
379379
bootstrap_env.Append(CCFLAGS=['-ffreestanding',
380380
'-U__STDC_HOSTED__',
381381
'-D__STDC_HOSTED__=1',
382+
'-Wno-builtin-macro-redefined',
382383
'-Qunused-arguments'])
383384
compiler_override = ''
384385
if env.Bit('build_x86_64'):

0 commit comments

Comments
 (0)