Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl2/lvm2 Add .include <bsd.sys.mk> for initializin...
details: https://anonhg.NetBSD.org/src/rev/081b314e6ab0
branches: trunk
changeset: 779098:081b314e6ab0
user: cheusov <cheusov%NetBSD.org@localhost>
date: Wed May 02 13:35:03 2012 +0000
description:
Add .include <bsd.sys.mk> for initializing USE_SSP.
This fixes build failure if USE_FORT=YES
Approved by christos@
diffstat:
external/gpl2/lvm2/lib/liblvm/Makefile | 5 ++++-
external/gpl2/lvm2/sbin/lvm/Makefile | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r f2b73b3b3616 -r 081b314e6ab0 external/gpl2/lvm2/lib/liblvm/Makefile
--- a/external/gpl2/lvm2/lib/liblvm/Makefile Wed May 02 04:23:09 2012 +0000
+++ b/external/gpl2/lvm2/lib/liblvm/Makefile Wed May 02 13:35:03 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/05/26 12:56:26 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2012/05/02 13:35:03 cheusov Exp $
LIBISPRIVATE= yes
@@ -14,6 +14,9 @@
CPPFLAGS+= -I${LVM2_DISTDIR}/lib -I${LVM2_DISTDIR}/include \
-I.
+.include <bsd.own.mk>
+.include <bsd.sys.mk> # for USE_SSP
+
# Some parts of liblvm can't be protected because if its
# alloca() usage.
#
diff -r f2b73b3b3616 -r 081b314e6ab0 external/gpl2/lvm2/sbin/lvm/Makefile
--- a/external/gpl2/lvm2/sbin/lvm/Makefile Wed May 02 04:23:09 2012 +0000
+++ b/external/gpl2/lvm2/sbin/lvm/Makefile Wed May 02 13:35:03 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2011/05/26 12:56:26 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2012/05/02 13:35:04 cheusov Exp $
USE_FORT?= no
NOLINT= #defined
@@ -30,6 +30,9 @@
CPPFLAGS+= -DLVM_SHARED_PATH=\"$(BINDIR)/lvm\"
+.include <bsd.own.mk>
+.include <bsd.sys.mk> # for USE_SSP
+
# Some parts of the code can't be protected because if its
# alloca() usage.
#
Home |
Main Index |
Thread Index |
Old Index