summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi8
1 files changed, 6 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index b994f48..4a43c27 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3131,6 +3131,12 @@
'-Wl,--as-needed',
],
}],
+ ['_toolset=="target" and OS=="linux"', {
+ 'ldflags': [
+ # http://crbug.com/234010.
+ '-lrt',
+ ],
+ }],
],
}],
['asan==1', {
@@ -3142,8 +3148,6 @@
],
'ldflags': [
'-fsanitize=address',
- # http://crbug.com/234010.
- '-lrt',
],
'defines': [
'ADDRESS_SANITIZER',