X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=Makefile;h=7906c52fd185a77651dc4dd8debb594b12853aea;hp=15ab4fc4309f41983a01af0d7fb71648db1c3913;hb=f1347a3a453ce38bf55cd92f5922311235810fd1;hpb=3c870263c5a14b77628f83c06852a6f340b2443f diff --git a/Makefile b/Makefile index 15ab4fc4..7906c52f 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ GENH = include/bits/alltypes.h CFLAGS = -Os -nostdinc -ffreestanding -std=c99 -D_XOPEN_SOURCE=700 -pipe LDFLAGS = -nostdlib -shared -fPIC -Wl,-e,_start -Wl,-Bsymbolic-functions -INC = -I./include -I./src/internal -I./arch/$(ARCH) +INC = -I./src/internal -I./include -I./arch/$(ARCH) PIC = -fPIC -O3 AR = $(CROSS_COMPILE)ar RANLIB = $(CROSS_COMPILE)ranlib @@ -110,7 +110,7 @@ $(DESTDIR)$(includedir)/%: include/% install -D -m 644 $< $@ $(DESTDIR)$(LDSO_PATHNAME): lib/libc.so - install -d -m 755 $(DESTDIR)$(syslibdir) + install -d -m 755 $(DESTDIR)$(syslibdir) || true ln -sf $(libdir)/libc.so $@ || true .PRECIOUS: $(CRT_LIBS:lib/%=crt/%)