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 03ec4ce

Browse filesBrowse files
sam-githubBridgeAR
authored andcommitted
build: do not link against librt on linux
PR-URL: #29727 Fixes: #27377 Fixes: #29718 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f91778d commit 03ec4ce
Copy full SHA for 03ec4ce

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎node.gypi‎

Copy file name to clipboardExpand all lines: node.gypi
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,11 @@
291291
[ 'OS=="sunos"', {
292292
'ldflags': [ '-Wl,-M,/usr/lib/ld/map.noexstk' ],
293293
}],
294+
[ 'OS=="linux"', {
295+
'libraries!': [
296+
'-lrt'
297+
],
298+
}],
294299
[ 'OS in "freebsd linux"', {
295300
'ldflags': [ '-Wl,-z,relro',
296301
'-Wl,-z,now' ]

0 commit comments

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