patch-Makefile 528 B

1234567891011121314151617
  1. --- vrrpd-1.0.orig/Makefile 2002-09-09 16:51:13.000000000 +0200
  2. +++ vrrpd-1.0/Makefile 2011-01-17 16:36:32.000000000 +0100
  3. @@ -14,12 +14,10 @@ DBG_OPT=-g
  4. #LINKLIB = -lpcap
  5. COMMON_CFLAGS= $(MAIN_OPT) $(INCLUDEOPT) $(PROF_OPT) $(DBG_OPT) $(MACHINEOPT)
  6. -# set to compile with GCC
  7. -CC=gcc
  8. -CFLAGS= $(COMMON_CFLAGS) -Wall
  9. +CFLAGS?= $(COMMON_CFLAGS) -Wall
  10. vrrpd : $(VRRPD_OBJS)
  11. - $(CC) $(PROF_OPT) -o $@ $(VRRPD_OBJS) $(LINKLIB)
  12. + $(CC) $(LDFLAGS) -o $@ $(VRRPD_OBJS) $(LINKLIB)
  13. vrrpd.o: vrrpd.h
  14. libnetlink.o: libnetlink.h