changeset 20569:66a11c2fdebd

nfsd: add CFLAGS to link (for -m32)
author Lauri Tirkkonen <lotheac@iki.fi>
date Sat, 11 May 2019 22:42:27 +0000
parents 409f95c745f2
children 2b95d3302c32
files usr/src/cmd/fs.d/nfs/nfsd/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/fs.d/nfs/nfsd/Makefile	Sat May 11 22:41:43 2019 +0000
+++ b/usr/src/cmd/fs.d/nfs/nfsd/Makefile	Sat May 11 22:42:27 2019 +0000
@@ -43,7 +43,7 @@
 CERRWARN +=	-Wno-extra
 
 $(TYPEPROG):	$(OBJS)
-		$(CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
+		$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
 		$(POST_PROCESS)
 
 nfs_tbind.o:	../lib/nfs_tbind.c