summaryrefslogtreecommitdiff
path: root/libparse/Makefile.am
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-03-04 13:59:29 +0000
committerCy Schubert <cy@FreeBSD.org>2020-03-04 13:59:29 +0000
commit5171bc9b11192d9ad273db7854787eaa65eb9997 (patch)
treeb872a53605ef14ae76de1104afb4be189d1a958a /libparse/Makefile.am
parent360c01464aee3bc4c520898a675f35967db09ac2 (diff)
Diffstat (limited to 'libparse/Makefile.am')
-rw-r--r--libparse/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libparse/Makefile.am b/libparse/Makefile.am
index 41528a76bd79..8fb089f7717f 100644
--- a/libparse/Makefile.am
+++ b/libparse/Makefile.am
@@ -164,9 +164,11 @@ parse: $(parsesolaris_OBJECTS) libparse_kernel.a ../libntp/libntp.a
parsesolaris.o: sys/systm.h
+# [Bug3608] Solaris has inconsistent definitions of ffs() and fls(). Drop the
+# ones from 'systm.h'.
sys/systm.h:
-mkdir sys
- sed -e '/ffs(.*)/d' < /usr/include/sys/systm.h > sys/systm.h
+ sed -e '/f[fl]s(.*)/d' < /usr/include/sys/systm.h > sys/systm.h
## check-libparse is invoked by ntpd/Makefile.am
check-libparse: $(noinst_LIBRARIES)