1
0

501-cross_compile-install.patch 453 B

12345678910111213141516
  1. diff -urN reaim-0.8/Makefile reaim-0.8/Makefile
  2. --- reaim-0.8.orig/Makefile 2002-11-28 06:10:38.000000000 +0100
  3. +++ reaim-0.8/Makefile 2009-06-02 00:30:32.000000000 +0200
  4. @@ -11,7 +11,10 @@ FW_FLAGS="-DUSE_IPF"
  5. endif
  6. reaim: reaim.c
  7. - gcc -o reaim reaim.c -g -Wall $(FW_FLAGS)
  8. -
  9. + $(CC) $(CFLAGS) -o reaim reaim.c -Wall $(FW_FLAGS)
  10. clean:
  11. -rm reaim
  12. +
  13. +install:
  14. + install -d -m 0755 $(DESTDIR)/usr/sbin
  15. + install -m 0755 reaim $(DESTDIR)/usr/sbin/