summarylogtreecommitdiffstats
path: root/holy-fetch_fix_build_flags.patch
blob: b2bf238e2640fa8077da6f055d455c2e037174a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,7 @@
 HC = hc2c
 CC = gcc
 
-CFLAGS = -O3
-LIBS = -lm
-
 all: src/*.HC
 	cp src/*.h bin/
 	$(HC) src/main.HC bin/main.c
-	$(CC) bin/main.c -o bin/holy-fetch $(LIBS)
+	$(CC) $(CFLAGS) bin/main.c $(LDFLAGS) -o bin/holy-fetch