patch-Makefile_in 557 B

1234567891011121314
  1. Use $(sort) here, which implicitly removes duplicates.
  2. Otherwise our CFLAGS are passed in via CCOPT and CFLAGS leading
  3. to duplicate -fhonour-copts passing.
  4. --- libpcap-1.8.0.orig/Makefile.in 2016-07-30 15:42:44.000000000 +0200
  5. +++ libpcap-1.8.0/Makefile.in 2016-08-05 02:22:41.124794216 +0200
  6. @@ -62,7 +62,7 @@ DEPENDENCY_CFLAG = @DEPENDENCY_CFLAG@
  7. PROG=libpcap
  8. # Standard CFLAGS
  9. -FULL_CFLAGS = $(CCOPT) $(INCLS) $(DEFS) $(CFLAGS)
  10. +FULL_CFLAGS = $(sort $(CCOPT) $(INCLS) $(DEFS) $(CFLAGS))
  11. INSTALL = @INSTALL@
  12. INSTALL_PROGRAM = @INSTALL_PROGRAM@