Browse Source

pick compiler by preference

master
Ralph Rönnquist 8 months ago
parent
commit
369ba5ecbb
  1. 5
      src/Makefile

5
src/Makefile

@ -1,6 +1,9 @@
all: reaper
CC = musl-gcc
# Pick compiler by preference
CCPREFS = /usr/bin/musl-gcc /usr/bin/gcc
CC = $(word 1,$(shell ls $(CCPREFS) 2>/dev/null))
CFLAGS = -Wall -static -O3 -flto
reaper: reaper.c

Loading…
Cancel
Save