LDFLAGS -> LDADD, fixes build on static arches.
authormiod <miod@openbsd.org>
Thu, 2 Jan 2014 17:05:02 +0000 (17:05 +0000)
committermiod <miod@openbsd.org>
Thu, 2 Jan 2014 17:05:02 +0000 (17:05 +0000)
usr.bin/mandoc/Makefile

index 6f54636..2e2c62e 100644 (file)
@@ -1,10 +1,10 @@
-#      $OpenBSD: Makefile,v 1.72 2013/12/31 00:40:19 schwarze Exp $
+#      $OpenBSD: Makefile,v 1.73 2014/01/02 17:05:02 miod Exp $
 
 .include <bsd.own.mk>
 
 CFLAGS  += -DVERSION=\"1.13.0\"
 CFLAGS  += -W -Wall -Wstrict-prototypes -Wno-unused-parameter
-LDFLAGS += -lsqlite3
+LDADD  += -lsqlite3
 
 SRCS=  roff.c tbl.c tbl_opts.c tbl_layout.c tbl_data.c eqn.c mandoc.c read.c
 SRCS+= mdoc_macro.c mdoc.c mdoc_hash.c \