mailing list of musl libc
 help / color / mirror / code / Atom feed
49cba1b7eea06299addb123e1de6339cf968f9c2 blob 779 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
38
39
40
41
42
43
 
#!/bin/sh
cc="@CC@"
libc="@PREFIX@"
libc_inc="@INCDIR@"
libc_lib="@LIBDIR@"
thisdir="`cd "$(dirname "$0")"; pwd`"

cleared=

# prevent clang from running the linker (and erroring) on no input.
sflags=
eflags=
dniflags=
for x ; do
    test "$cleared" || set -- ; cleared=1

    case "$x" in
        --dni) dniflags=-l-dni; continue ;;
        -l*) input=1 ;;
        *) input= ;;
    esac
    set -- "$@" "$x"
    if test "$input" ; then
        sflags="-l-user-start"
        eflags="-l-user-end"
        break
    fi
done

exec $cc \
    -B"$thisdir" \
    -fuse-ld=musl-clang \
    -static-libgcc \
    -nostdinc \
    --sysroot "$libc" \
    -isystem "$libc_inc" \
    -L-user-start \
    $sflags \
    $dniflags \
    "$@" \
    $eflags \
    -L"$libc_lib" \
    -L-user-end
debug log:

solving 49cba1b7 ...
retrying 49cba1b7 as 49cba1b
found 49cba1b in https://inbox.vuxu.org/musl/1585512901-18979-2-git-send-email-rcombs@rcombs.me/ ||
	https://inbox.vuxu.org/musl/1568091399-23967-3-git-send-email-rodger.combs@gmail.com/ ||
	https://inbox.vuxu.org/musl/1556327609-27385-3-git-send-email-rodger.combs@gmail.com/ ||
	https://inbox.vuxu.org/musl/1585441168-23444-4-git-send-email-rcombs@rcombs.me/
found 623de6f in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 623de6f64f52e55f3ee9a98ddfa777530989a7a7	tools/musl-clang.in

applying [1/4] https://inbox.vuxu.org/musl/1585512901-18979-2-git-send-email-rcombs@rcombs.me/
diff --git a/tools/musl-clang.in b/tools/musl-clang.in
index 623de6f..49cba1b 100644

Checking patch tools/musl-clang.in...
Applied patch tools/musl-clang.in cleanly.

skipping https://inbox.vuxu.org/musl/1568091399-23967-3-git-send-email-rodger.combs@gmail.com/ for 49cba1b
skipping https://inbox.vuxu.org/musl/1556327609-27385-3-git-send-email-rodger.combs@gmail.com/ for 49cba1b
skipping https://inbox.vuxu.org/musl/1585441168-23444-4-git-send-email-rcombs@rcombs.me/ for 49cba1b
index at:
100644 49cba1b7eea06299addb123e1de6339cf968f9c2	tools/musl-clang.in

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).