Update l7-protocols to 2008-04-23 (#3630)
[openwrt/svn-archive/archive.git] / net / l7-protocols / patches / 100-testing_crosscompile.patch
1 --- a/testing/Makefile
2 +++ b/testing/Makefile
3 @@ -1,19 +1,19 @@
4 all: randchars randprintable test_speed-kernel test_speed-userspace match_kernel
5
6 randchars: randchars.c
7 - gcc -O2 -o randchars randchars.c
8 + $(CC) -O2 -o randchars randchars.c
9
10 randprintable: randprintable.c
11 - gcc -O2 -o randprintable randprintable.c
12 + $(CC) -O2 -o randprintable randprintable.c
13
14 test_speed-kernel: test_speed-kernel.c
15 - gcc -o test_speed-kernel test_speed-kernel.c
16 + $(CC) -o test_speed-kernel test_speed-kernel.c
17
18 test_speed-userspace: test_speed-userspace.cpp l7-parse-patterns.cpp l7-parse-patterns.h
19 - g++ -Wall -o test_speed-userspace test_speed-userspace.cpp l7-parse-patterns.cpp
20 + $(CXX) -Wall -o test_speed-userspace test_speed-userspace.cpp l7-parse-patterns.cpp
21
22 match_kernel: match-kernel.c
23 - gcc -O2 -o match_kernel match-kernel.c
24 + $(CC) -O2 -o match_kernel match-kernel.c
25
26 clean:
27 rm -f randprintable randchars test_speed-kernel test_speed-userspace match_kernel