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.6.2.orig/Makefile.in 2014-07-03 00:12:49.000000000 +0200
5 +++ libpcap-1.6.2/Makefile.in 2014-09-12 15:12:48.567519024 +0200
6 @@ -61,7 +61,7 @@ DEPENDENCY_CFLAG = @DEPENDENCY_CFLAG@
10 -FULL_CFLAGS = $(CCOPT) $(INCLS) $(DEFS) $(CFLAGS)
11 +FULL_CFLAGS = $(sort $(CCOPT) $(INCLS) $(DEFS) $(CFLAGS))
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@