mailing list of musl libc
 help / color / mirror / code / Atom feed
02b4e4c92463909beb3a362f8f68927e876cd626 blob 560 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
 
#!/bin/sh
cc=clang
libc_inc="@INCDIR@"
libc_lib="@LIBDIR@"
thisdir="`cd "$(dirname "$0")"; pwd`"

# prevent clang from running the linker (and erroring) on no input.
for x ; do
    case "$x" in
        -l*) input=1 ;;
        *) input= ;;
    esac
    if test "$input" ; then
        set -- -l-user-start "$@" -l-user-end
        break
    fi
done

exec $cc \
    -B"$thisdir" \
    -fuse-ld=musl-clang \
    -rtlib=compiler-rt \
    -nostdinc \
    -nostartfiles \
    -isystem "$libc_inc" \
    -L-user-start \
    "$@" \
    -L"$libc_lib" \
    -L-user-end
debug log:

solving 13ef5bb ...
found 13ef5bb in https://inbox.vuxu.org/musl/1432925022-28318-1-git-send-email-hi@shiz.me/

applying [1/1] https://inbox.vuxu.org/musl/1432925022-28318-1-git-send-email-hi@shiz.me/
diff --git a/tools/musl-clang.in b/tools/musl-clang.in
new file mode 100644
index 0000000..13ef5bb

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

index at:
100644 02b4e4c92463909beb3a362f8f68927e876cd626	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).