summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-12-29 11:51:27 +0000
committerbde <bde@FreeBSD.org>2001-12-29 11:51:27 +0000
commit412b81cedf8cd432983b744f762bf98474826715 (patch)
tree078975e337ffd0086b19c67e8e22557337fde732
parent6b4b04d21041bfd6464362db6f444378cd0df105 (diff)
downloadFreeBSD-src-412b81cedf8cd432983b744f762bf98474826715.zip
FreeBSD-src-412b81cedf8cd432983b744f762bf98474826715.tar.gz
Fixed missing DPADD and disordered LDADD in rev.1.17
Fixed setting of WARNS in rev.1.16. Options should normally be set using using "?=", not using "=", so that the setting is easy to override on the command line, and setting WARNS to 0 should not be an exception.
-rw-r--r--bin/ls/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ls/Makefile b/bin/ls/Makefile
index 1aa0b4e..ed835b6 100644
--- a/bin/ls/Makefile
+++ b/bin/ls/Makefile
@@ -4,8 +4,9 @@
PROG= ls
SRCS= cmp.c ls.c print.c util.c lomac.c
+WARNS?= 0
+DPADD= ${LIBM}
LDADD= -lm
-WARNS= 0
.if !defined(RELEASE_CRUNCH)
CFLAGS+= -DCOLORLS
OpenPOWER on IntegriCloud