summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-jack/files/deadbeef-jack.patch
blob: 52160f93c71fed3974070935c9640b9b84d4748a (plain)
1
2
3
4
5
6
7
8
9
10
diff --git a/Makefile b/Makefile
index 792e33d..1d8a169 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,4 @@
+CC?=gcc
+CFLAGS?=-I/usr/local/include
 all:
-	gcc -I/usr/local/include  -std=c99 -shared -O2 -o jack.so -ljack jack.c -fPIC -Wall -march=native
+	$(CC) $(CFLAGS) -std=c99 -shared -O2 -o jack.so -ljack jack.c -fPIC -Wall $(LDFLAGS)