clean up pow.c and powf.c
[musl] / Makefile
index 15ab4fc..7906c52 100644 (file)
--- 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/%)