Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build failure if USE_FORT=YES
On Wed, May 02, 2012 at 01:06:52PM +0300, Aleksey Cheusov wrote:
> Index: external/gpl2/lvm2/lib/liblvm/Makefile
> ===================================================================
> RCS file: /cvsroot/src/external/gpl2/lvm2/lib/liblvm/Makefile,v
> retrieving revision 1.5
> diff -u -U 5 -r1.5 Makefile
> --- external/gpl2/lvm2/lib/liblvm/Makefile 26 May 2011 12:56:26 -0000
> 1.5
> +++ external/gpl2/lvm2/lib/liblvm/Makefile 28 Apr 2012 16:02:59 -0000
> @@ -12,10 +12,13 @@
> CWARNFLAGS+= -Wno-parentheses
>
> 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.
> #
> .if defined(USE_SSP) && (${USE_SSP} != "no")
> CPPFLAGS+= -Wno-stack-protector
I'd prefer to just use:
CPPFLAGS+= ${${USE_SSP:Uno} == "yes" :? -Wno-stack-protector :}
without the additional includes.
Joerg
Home |
Main Index |
Thread Index |
Old Index