blob: 8eff1cc5c22ab0591b1366b0a57ddec4a0580cdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$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
|