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

Side by Side Diff: build/config/chromecast/BUILD.gn

Issue 1476923004: [Chromecast] Include all stdlibc++/libgcc symbols in cast_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Style updates. Created 5 years 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
« build/common.gypi ('K') | « build/config/BUILDCONFIG.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
(Empty)
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
3 # found in the LICENSE file.
4
5 assert(is_chromecast)
6
7 config("executable_config") {
8 ldflags = [
9 # We want to statically link libstdc++/libgcc_s. Export the libstdc++
10 # symbols so multiple copies merge at runtime.
11 "-Wl,--export-dynamic",
12 "-static-libstdc++",
13 "-static-libgcc",
14 "-lm", # stdlibc++ requires math.h
15
16 # In case we redefined stdlibc++ symbols (e.g. tc_malloc)
17 "-Wl,--allow-multiple-definition",
18
19 "-Wl,--whole-archive",
20 "-l:libstdc++.a",
21 "-l:libgcc.a",
22 "-Wl,--no-whole-archive",
23 ]
24 }
OLDNEW
« build/common.gypi ('K') | « build/config/BUILDCONFIG.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698