-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: fixes build for some os versions #30141
Conversation
9d8b2b4
to
9e8215f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The -lrt
change can't land as-is, see my other comment.
9e8215f
to
3ff8113
Compare
3ff8113
to
67a7e89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with Richard's suggestion applied.
@@ -355,7 +355,8 @@ | |||
}], | |||
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', { | |||
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], | |||
'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++1y' ], | |||
'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++1y'], | |||
'defines': ['__STDC_FORMAT_MACROS' ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'defines': ['__STDC_FORMAT_MACROS' ], | |
'defines': [ '__STDC_FORMAT_MACROS' ], |
Any progress in merging? Any plan for release update? |
f763019
to
14b017c
Compare
Whoever lands this, please make sure to fix the whitespace change pointed out above (#30141 (comment)) |
For format macros, the __STDC_FORMAT_MACROS flag needs to be passed, also passing the librt linker flag.
14b017c
to
3f19733
Compare
Landed in bdb1194 |
Actually landed in 18de9ba without metadata. |
For format macros, the __STDC_FORMAT_MACROS flag needs to be passed, also passing the librt linker flag.
For format macros, the __STDC_FORMAT_MACROS flag needs to be
passed, also passing the librt linker flag.
Fixes #30077