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

Side by Side Diff: fusl/tools/musl-gcc.specs.sh

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.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 | « fusl/tools/musl-clang.in ('k') | fusl/tools/version.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 incdir=$1
2 libdir=$2
3 ldso=$3
4 cat <<EOF
5 %rename cpp_options old_cpp_options
6
7 *cpp_options:
8 -nostdinc -isystem $incdir -isystem include%s %(old_cpp_options)
9
10 *cc1:
11 %(cc1_cpu) -nostdinc -isystem $incdir -isystem include%s
12
13 *link_libgcc:
14 -L$libdir -L .%s
15
16 *libgcc:
17 libgcc.a%s %:if-exists(libgcc_eh.a%s)
18
19 *startfile:
20 %{!shared: $libdir/%{pie:S}crt1.o} $libdir/crti.o %{shared|pie:crtbeginS.o%s;:cr tbegin.o%s}
21
22 *endfile:
23 %{shared|pie:crtendS.o%s;:crtend.o%s} $libdir/crtn.o
24
25 *link:
26 -dynamic-linker $ldso -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:- export-dynamic}
27
28 *esp_link:
29
30
31 *esp_options:
32
33
34 *esp_cpp_options:
35
36
37 EOF
OLDNEW
« no previous file with comments | « fusl/tools/musl-clang.in ('k') | fusl/tools/version.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698