Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4cd459c

Browse filesBrowse files
devnexentargos
authored andcommitted
build: fixes build for some os versions
For format macros, the __STDC_FORMAT_MACROS flag needs to be passed, also passing the librt linker flag.
1 parent 5db6758 commit 4cd459c
Copy full SHA for 4cd459c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@
361361
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
362362
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
363363
'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++1y' ],
364+
'defines': [ '__STDC_FORMAT_MACROS' ],
364365
'ldflags': [ '-rdynamic' ],
365366
'target_conditions': [
366367
# The 1990s toolchain on SmartOS can't handle thin archives.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.