Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/flex/bin Do not depend on the existance of /usr...
details: https://anonhg.NetBSD.org/src/rev/cf11d678b3d3
branches: trunk
changeset: 748674:cf11d678b3d3
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Oct 31 23:36:29 2009 +0000
description:
Do not depend on the existance of /usr/lib/libm.a for the host tool case.
diffstat:
external/bsd/flex/bin/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 95d4598ff518 -r cf11d678b3d3 external/bsd/flex/bin/Makefile
--- a/external/bsd/flex/bin/Makefile Sat Oct 31 23:25:04 2009 +0000
+++ b/external/bsd/flex/bin/Makefile Sat Oct 31 23:36:29 2009 +0000
@@ -1,5 +1,5 @@
# from: @(#)Makefile 5.4 (Berkeley) 6/24/90
-# $NetBSD: Makefile,v 1.5 2009/10/29 17:17:33 christos Exp $
+# $NetBSD: Makefile,v 1.6 2009/10/31 23:36:29 joerg Exp $
#
# By default, flex will be configured to generate 8-bit scanners only if the
# -8 flag is given. If you want it to always generate 8-bit scanners, add
@@ -42,7 +42,9 @@
INCS =FlexLexer.h
INCSDIR=/usr/include/g++
LDADD+=-lm
+.ifndef HOSTPROG
DPADD+=${LIBM}
+.endif
MAN = flex.1
Home |
Main Index |
Thread Index |
Old Index