X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile;h=00aa7069bfaf914ee9530bedc9590031891bdb96;hb=86cc54b577f445da1582d2cf1ac3eff064ca27ef;hp=96910bd20886142f373d81933b0b98bb2af3a15e;hpb=c5e34dabbb47d8e97a4deccbb421e0cd93c0094b;p=musl diff --git a/Makefile b/Makefile index 96910bd2..00aa7069 100644 --- a/Makefile +++ b/Makefile @@ -87,6 +87,9 @@ crt/Scrt1.o: CFLAGS += -fPIC OPTIMIZE_SRCS = $(wildcard $(OPTIMIZE_GLOBS:%=src/%)) $(OPTIMIZE_SRCS:%.c=%.o) $(OPTIMIZE_SRCS:%.c=%.lo): CFLAGS += -O3 +MEMOPS_SRCS = src/string/memcpy.c src/string/memmove.c src/string/memcmp.c src/string/memset.c +$(MEMOPS_SRCS:%.c=%.o) $(MEMOPS_SRCS:%.c=%.lo): CFLAGS += $(CFLAGS_MEMOPS) + %.o: $(ARCH)/%.s $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $<