projects
/
rrq
/
overlay-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use -i as well
[rrq/overlay-boot.git]
/
src
/
Makefile
diff --git
a/src/Makefile
b/src/Makefile
index 5c8c75744c433dfc733ce6b76d1923ca91da7c14..1776491e09b6c4ecf32b358a4b693efefb635e2c 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-1,10
+1,16
@@
all: reaper
all: reaper
-CC = musl-gcc
+# Pick compiler by preference
+#CC = /usr/bin/gcc
+CC = /usr/bin/musl-gcc
+
+$(warning CC=$(CC))
+
CFLAGS = -Wall -static -O3 -flto
reaper: reaper.c
$(CC) $(CFLAGS) -o $@ $^
CFLAGS = -Wall -static -O3 -flto
reaper: reaper.c
$(CC) $(CFLAGS) -o $@ $^
+ strip $@
clean:
rm -f reaper
clean:
rm -f reaper