X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;ds=sidebyside;f=src%2FMakefile;h=99bf8cf223adfffb800b0514f40b70f7921c778e;hb=208459b4e180f8317f322fd66d34ad3ac0c2c681;hp=275275e2566936ff886d2f6f481e0a5825765b04;hpb=b55df2367170f6f30d2d95d518626d7a2ef06333;p=rrq%2Foverlay-boot.git diff --git a/src/Makefile b/src/Makefile index 275275e..99bf8cf 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,14 +1,13 @@ all: reaper # Pick compiler by preference -CCPREFS = /usr/bin/musl-gcc /usr/bin/gcc -CC = $(word 1,$(shell ls $(CCPREFS) 2>/dev/null)) +#CC = /usr/bin/gcc +CC = /usr/bin/musl-gcc CFLAGS = -Wall -static -O3 -flto reaper: reaper.c $(CC) $(CFLAGS) -o $@ $^ - strip $@ clean: rm -f reaper