projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
optimize opendir using O_CLOEXEC
[oweals/musl.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 277aa00a420fa645f782bd9fa81245583cc30a66..7185b83c5ca35bad9e882e39de333f4725eba7ae 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-76,7
+76,7
@@
include/bits/alltypes.h: include/bits/alltypes.h.sh
$(CC) $(CFLAGS) $(INC) $(PIC) -c -o $@ $<
lib/ld-musl-$(ARCH).so.1: $(LOBJS)
$(CC) $(CFLAGS) $(INC) $(PIC) -c -o $@ $<
lib/ld-musl-$(ARCH).so.1: $(LOBJS)
- $(CC) $(LDFLAGS) -o $@ $(LOBJS) -lgcc
+ $(CC) $(LDFLAGS) -
Wl,-soname=libc.so.1 -
o $@ $(LOBJS) -lgcc
$(OBJCOPY) --weaken $@
lib/libc.a: $(OBJS)
$(OBJCOPY) --weaken $@
lib/libc.a: $(OBJS)
@@
-107,8
+107,8
@@
$(DESTDIR)$(includedir)/%: include/%
$(DESTDIR)/lib/ld-musl-$(ARCH).so.1: lib/ld-musl-$(ARCH).so.1
install -D -m 755 $< $@
$(DESTDIR)/lib/ld-musl-$(ARCH).so.1: lib/ld-musl-$(ARCH).so.1
install -D -m 755 $< $@
-$(DESTDIR)$(libdir)/libc.so:
$(DESTDIR)/
lib/ld-musl-$(ARCH).so.1
-
echo 'GROUP ( /lib/ld-musl-$(ARCH).so.1 )' >
$@
+$(DESTDIR)$(libdir)/libc.so: lib/ld-musl-$(ARCH).so.1
+
ln -sf /lib/ld-musl-$(ARCH).so.1
$@
.PRECIOUS: $(CRT_LIBS:lib/%=crt/%)
.PRECIOUS: $(CRT_LIBS:lib/%=crt/%)