From d5e71581ddb83ec75dceb9a365b516b00aa4a321 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Sun, 14 Jun 2015 03:34:09 +0000 Subject: [PATCH] NO_WARNS when building for host --- usr.bin/mkcsmapper_static/Makefile | 3 +++ usr.bin/mkesdb_static/Makefile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/usr.bin/mkcsmapper_static/Makefile b/usr.bin/mkcsmapper_static/Makefile index b2a1a136821..e16471af016 100644 --- a/usr.bin/mkcsmapper_static/Makefile +++ b/usr.bin/mkcsmapper_static/Makefile @@ -7,6 +7,9 @@ SRCS= citrus_bcs.c citrus_db_factory.c citrus_db_hash.c \ citrus_lookup_factory.c citrus_pivot_factory.c MAN= NO_SHARED= yes +.if ${MACHINE} == "host" +NO_WARNS= yes +.endif build-tools: mkcsmapper_static diff --git a/usr.bin/mkesdb_static/Makefile b/usr.bin/mkesdb_static/Makefile index 613b25e70d0..fb10f0169b1 100644 --- a/usr.bin/mkesdb_static/Makefile +++ b/usr.bin/mkesdb_static/Makefile @@ -7,6 +7,9 @@ SRCS= citrus_bcs.c citrus_db_factory.c citrus_db_hash.c \ citrus_lookup_factory.c MAN= NO_SHARED= yes +.if ${MACHINE} == "host" +NO_WARNS= yes +.endif build-tools: mkesdb_static