Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: third_party/libc++abi/libc++abi.gyp

Issue 1154213002: Update libc++/libc++abi build flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/buildtools.git@master
Patch Set: add -fPIC Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libc++/libc++.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libc++abi/libc++abi.gyp
diff --git a/third_party/libc++abi/libc++abi.gyp b/third_party/libc++abi/libc++abi.gyp
index ee21e4f86edd8015ba7953f33cd4d9864237abef..83aa7f3f22ab467fc5b901fa2da72fa270f132d9 100644
--- a/third_party/libc++abi/libc++abi.gyp
+++ b/third_party/libc++abi/libc++abi.gyp
@@ -33,8 +33,10 @@
'../libc++/trunk/include'
],
'cflags': [
+ '-fPIC',
'-fstrict-aliasing',
'-nostdinc++',
+ '-pthread',
'-std=c++11',
],
'cflags_cc!': [
@@ -44,18 +46,6 @@
'cflags!': [
'-fvisibility=hidden',
],
- 'ldflags': [
- '-nodefaultlibs',
- ],
- 'ldflags!': [
- '-pthread',
- ],
- 'libraries': [
- '-lc',
- '-lgcc_s',
- '-lpthread',
- '-lrt',
- ]
},
]
}
« no previous file with comments | « third_party/libc++/libc++.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698