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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « third_party/libc++/libc++.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libc++abi', 8 'target_name': 'libc++abi',
9 'type': 'static_library', 9 'type': 'static_library',
10 'toolsets': ['host', 'target'], 10 'toolsets': ['host', 'target'],
(...skipping 15 matching lines...) Expand all
26 'trunk/src/exception.cpp', 26 'trunk/src/exception.cpp',
27 'trunk/src/private_typeinfo.cpp', 27 'trunk/src/private_typeinfo.cpp',
28 'trunk/src/stdexcept.cpp', 28 'trunk/src/stdexcept.cpp',
29 'trunk/src/typeinfo.cpp', 29 'trunk/src/typeinfo.cpp',
30 ], 30 ],
31 'include_dirs': [ 31 'include_dirs': [
32 'trunk/include', 32 'trunk/include',
33 '../libc++/trunk/include' 33 '../libc++/trunk/include'
34 ], 34 ],
35 'cflags': [ 35 'cflags': [
36 '-fPIC',
36 '-fstrict-aliasing', 37 '-fstrict-aliasing',
37 '-nostdinc++', 38 '-nostdinc++',
39 '-pthread',
38 '-std=c++11', 40 '-std=c++11',
39 ], 41 ],
40 'cflags_cc!': [ 42 'cflags_cc!': [
41 '-fno-exceptions', 43 '-fno-exceptions',
42 '-fno-rtti', 44 '-fno-rtti',
43 ], 45 ],
44 'cflags!': [ 46 'cflags!': [
45 '-fvisibility=hidden', 47 '-fvisibility=hidden',
46 ], 48 ],
47 'ldflags': [
48 '-nodefaultlibs',
49 ],
50 'ldflags!': [
51 '-pthread',
52 ],
53 'libraries': [
54 '-lc',
55 '-lgcc_s',
56 '-lpthread',
57 '-lrt',
58 ]
59 }, 49 },
60 ] 50 ]
61 } 51 }
OLDNEW
« 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