use musl-gcc
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Wed, 30 Mar 2022 21:57:36 +0000 (08:57 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Wed, 30 Mar 2022 21:57:36 +0000 (08:57 +1100)
src/Makefile

index 275275e2566936ff886d2f6f481e0a5825765b04..1776491e09b6c4ecf32b358a4b693efefb635e2c 100644 (file)
@@ -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