No Description

100-testing_crosscompile.patch 1015B

123456789101112131415161718192021222324252627
  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. randchars: randchars.c
  6. - gcc -O2 -o randchars randchars.c
  7. + $(CC) $(CFLAGS) -o randchars randchars.c
  8. randprintable: randprintable.c
  9. - gcc -O2 -o randprintable randprintable.c
  10. + $(CC) $(CFLAGS) -o randprintable randprintable.c
  11. test_speed-kernel: test_speed-kernel.c
  12. - gcc -o test_speed-kernel test_speed-kernel.c
  13. + $(CC) $(CFLAGS) -o test_speed-kernel test_speed-kernel.c
  14. test_speed-userspace: test_speed-userspace.cpp l7-parse-patterns.cpp l7-parse-patterns.h
  15. - g++ -Wall -o test_speed-userspace test_speed-userspace.cpp l7-parse-patterns.cpp
  16. + $(CXX) $(CXXFLAGS) -Wall -o test_speed-userspace test_speed-userspace.cpp l7-parse-patterns.cpp
  17. match_kernel: match-kernel.c
  18. - gcc -O2 -o match_kernel match-kernel.c
  19. + $(CC) $(CFLAGS) -o match_kernel match-kernel.c
  20. clean:
  21. rm -f randprintable randchars test_speed-kernel test_speed-userspace match_kernel