summaryrefslogtreecommitdiff
path: root/dev-embedded/parapin/files/parapin-1.5.0-tc-directly.patch
blob: 0289a070e2c3e64fd59c1a4dafb887d448fd4491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/Makefile-2.4 b/Makefile-2.4
index b900268..9946cef 100644
--- a/Makefile-2.4
+++ b/Makefile-2.4
@@ -43,9 +43,6 @@
 LINUX_HEADERS := /usr/src/linux-`uname -r`/include/
 LINUX_MODULES := /lib/modules/`uname -r`/kernel/
 
-CC := gcc
-CFLAGS := -O2 -g -Wall
-
 LIBPARAPIN_OBJS := parapin.o
 
 EXAMPLE_DIR := examples
@@ -82,7 +79,7 @@ allinstall: install modulesinstall $(BINDINGS)-install
 ##### libraries
 
 libparapin.a: $(LIBPARAPIN_OBJS)
-	ar -cr libparapin.a $(LIBPARAPIN_OBJS)
+	$(AR) -cr libparapin.a $(LIBPARAPIN_OBJS)
 
 parapin.o: parapin.c parapin.h parapin-linux.h
 	$(CC) $(CFLAGS) -c parapin.c