From: Ralph Ronnquist Date: Wed, 30 Mar 2022 21:57:36 +0000 (+1100) Subject: use musl-gcc X-Git-Tag: deb_0.1.3~2 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=da8a16b95c0fa34abfaa1a7dfbbfddec6b959a57;p=rrq%2Foverlay-boot.git use musl-gcc --- diff --git a/src/Makefile b/src/Makefile index 275275e..1776491 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,8 +1,10 @@ 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 + +$(warning CC=$(CC)) CFLAGS = -Wall -static -O3 -flto