about summary refs log tree commit diff
path: root/misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 52bf339309..9365fd2a1a 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -63,6 +63,9 @@ gpl2lgpl := error.c error.h
 
 tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt tst-mntent
 
+CFLAGS-tsearch.c = $(exceptions)
+CFLAGS-lsearch.c = $(exceptions)
+
 include ../Rules
 
 $(objpfx)libbsd-compat.a: $(dep-dummy-lib); $(make-dummy-lib)