projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove cruft from pre-posix_spawn version of the system function
[musl]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
10c174c
..
997c5bb
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-16,7
+16,7
@@
includedir = $(prefix)/include
libdir = $(prefix)/lib
syslibdir = /lib
libdir = $(prefix)/lib
syslibdir = /lib
-SRCS = $(sort $(wildcard src/*/*.c))
+SRCS = $(sort $(wildcard src/*/*.c
arch/$(ARCH)/src/*.c
))
OBJS = $(SRCS:.c=.o)
LOBJS = $(OBJS:.o=.lo)
GENH = include/bits/alltypes.h
OBJS = $(SRCS:.c=.o)
LOBJS = $(OBJS:.o=.lo)
GENH = include/bits/alltypes.h
@@
-94,7
+94,7
@@
src/ldso/dynlink.lo: arch/$(ARCH)/reloc.h
lib/libc.so: $(LOBJS)
$(CC) $(CFLAGS_ALL_SHARED) $(LDFLAGS) -nostdlib -shared \
-Wl,-e,_start -Wl,-Bsymbolic-functions \
lib/libc.so: $(LOBJS)
$(CC) $(CFLAGS_ALL_SHARED) $(LDFLAGS) -nostdlib -shared \
-Wl,-e,_start -Wl,-Bsymbolic-functions \
- -
Wl,-soname=libc.so -
o $@ $(LOBJS) $(LIBCC)
+ -o $@ $(LOBJS) $(LIBCC)
lib/libc.a: $(OBJS)
rm -f $@
lib/libc.a: $(OBJS)
rm -f $@
@@
-112,7
+112,7
@@
lib/musl-gcc.specs: tools/musl-gcc.specs.sh config.mak
sh $< "$(includedir)" "$(libdir)" "$(LDSO_PATHNAME)" > $@
tools/musl-gcc: config.mak
sh $< "$(includedir)" "$(libdir)" "$(LDSO_PATHNAME)" > $@
tools/musl-gcc: config.mak
- printf '#!/bin/sh\nexec
gcc
"$$@" -specs "%s/musl-gcc.specs"\n' "$(libdir)" > $@
+ printf '#!/bin/sh\nexec
"$${REALGCC:-gcc}"
"$$@" -specs "%s/musl-gcc.specs"\n' "$(libdir)" > $@
chmod +x $@
$(DESTDIR)$(bindir)/%: tools/%
chmod +x $@
$(DESTDIR)$(bindir)/%: tools/%