mailing list of musl libc
 help / color / mirror / code / Atom feed
7e7ae56209bf579b479a082842eeebfcd67a053e blob 969 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 
incdir=$1
libdir=$2
ldso=$3
cat <<EOF
%rename cpp_options old_cpp_options

*cpp_options:
-nostdinc -isystem $incdir -isystem include%s %(old_cpp_options)

*cc1:
%(cc1_cpu) %{static-pie:-fPIE} -nostdinc -isystem $incdir -isystem include%s

*link_libgcc:
-L$libdir -L .%s

*libgcc:
libgcc.a%s %:if-exists(libgcc_eh.a%s)

*startfile:
%{shared:;static:$libdir/crt1.o%s; static-pie:$libdir/rcrt1.o%s; pie:$libdir/Scrt1.o%s; :$libdir/crt1.o%s} $libdir/crti.o%s %{static:crtbeginT.o%s; shared|static-pie|pie:crtbeginS.o%s; :crtbegin.o%s}

*endfile:
%{static:crtend.o%s; shared|static-pie|pie:crtendS.o%s; :crtend.o%s} $libdir/crtn.o%s

*link:
%{!r:--build-id} --no-add-needed %{!static|static-pie:--eh-frame-hdr} --hash-style=gnu -m elf_x86_64 %{shared:-shared} %{!shared:%{!static:%{!static-pie:%{rdynamic:-export-dynamic} -dynamic-linker $ldso}} %{static:-static} %{static-pie:-static -pie --no-dynamic-linker -z text}}

*esp_link:


*esp_options:


*esp_cpp_options:


EOF
debug log:

solving 7e7ae562 ...
found 7e7ae562 in https://inbox.vuxu.org/musl/20200406175843.944022-1-harald@redhat.com/
found 30492574 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 3049257446e113b0fc745f8efeb3e2b101e07798	tools/musl-gcc.specs.sh

applying [1/1] https://inbox.vuxu.org/musl/20200406175843.944022-1-harald@redhat.com/
diff --git a/tools/musl-gcc.specs.sh b/tools/musl-gcc.specs.sh
index 30492574..7e7ae562 100644

Checking patch tools/musl-gcc.specs.sh...
Applied patch tools/musl-gcc.specs.sh cleanly.

index at:
100644 7e7ae56209bf579b479a082842eeebfcd67a053e	tools/musl-gcc.specs.sh

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).