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

Side by Side Diff: third_party/libc++/libc++.gyp

Issue 1554723003: Set LIBCXX_BUILDING_LIBCXXABI when buildng libc++. (Closed) Base URL: https://chromium.googlesource.com/chromium/buildtools.git@master
Patch Set: Created 4 years, 11 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++/BUILD.gn ('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': 'libcxx_proxy', 8 'target_name': 'libcxx_proxy',
9 'type': 'none', 9 'type': 'none',
10 'toolsets': ['host', 'target'], 10 'toolsets': ['host', 'target'],
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 '-pthread', 95 '-pthread',
96 '-std=c++11', 96 '-std=c++11',
97 ], 97 ],
98 'cflags_cc!': [ 98 'cflags_cc!': [
99 '-fno-exceptions', 99 '-fno-exceptions',
100 '-fno-rtti', 100 '-fno-rtti',
101 ], 101 ],
102 'cflags!': [ 102 'cflags!': [
103 '-fvisibility=hidden', 103 '-fvisibility=hidden',
104 ], 104 ],
105 'defines': [
106 'LIBCXX_BUILDING_LIBCXXABI',
107 ],
105 'ldflags': [ 108 'ldflags': [
106 '-nodefaultlibs', 109 '-nodefaultlibs',
107 ], 110 ],
108 'ldflags!': [ 111 'ldflags!': [
109 # -nodefaultlibs turns -pthread into a no-op, causing an unused argument 112 # -nodefaultlibs turns -pthread into a no-op, causing an unused argument
110 # warning. Explicitly link with -lpthread instead. 113 # warning. Explicitly link with -lpthread instead.
111 '-pthread', 114 '-pthread',
112 ], 115 ],
113 'libraries': [ 116 'libraries': [
114 '-lc', 117 '-lc',
115 '-lgcc_s', 118 '-lgcc_s',
116 '-lm', 119 '-lm',
117 '-lpthread', 120 '-lpthread',
118 '-lrt', 121 '-lrt',
119 ], 122 ],
120 }, 123 },
121 ] 124 ]
122 } 125 }
OLDNEW
« no previous file with comments | « third_party/libc++/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698