$NetBSD: patch-ad,v 1.4 2017/11/10 11:21:52 jperkin Exp $ Ensure we pass the correct compiler flags. --- Clients/Makefile.orig 2009-08-11 01:13:47.000000000 +0000 +++ Clients/Makefile @@ -42,10 +42,10 @@ build: mkdir build build/dns-sd: build dns-sd.c ClientCommon.c - cc $(filter %.c %.o, $+) $(LIBS) -I../mDNSShared -Wall -o $@ + cc $(filter %.c %.o, $+) $(CFLAGS) $(LIBS) $(LDFLAGS) -I../mDNSShared -Wall -o $@ build/dns-sd64: build dns-sd.c ClientCommon.c - cc $(filter %.c %.o, $+) $(LIBS) -I../mDNSShared -Wall -o $@ -m64 + cc $(filter %.c %.o, $+) $(CFLAGS) $(LIBS) -I../mDNSShared -Wall -o $@ -m64 # Note, we can make a 'fat' version of dns-sd using 'lipo', as shown below, but we # don't, because we don't want or need a 'fat' version of dns-sd, because it will