From b4a718b84bfca80f72f80fb718454e2c5291751f Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Wed, 31 Oct 2012 11:03:27 +0100 Subject: [PATCH] util-vserver: made to compile with new gcc>4.7 --- security/util-vserver/util-vserver.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/security/util-vserver/util-vserver.conf b/security/util-vserver/util-vserver.conf index 3814cd571..79691c3e1 100644 --- a/security/util-vserver/util-vserver.conf +++ b/security/util-vserver/util-vserver.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../util-vserver/util-vserver.conf -# Copyright (C) 2006 - 2010 The OpenSDE Project +# Copyright (C) 2006 - 2012 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -31,7 +31,8 @@ if [ "$SDECFG_PKG_VSERVER_QUOTA" = "1" ]; then fi var_remove_regex makeopt ' ' 'CC=.*' - +var_append makeopt ' ' "CFLAGS='-fno-optimize-strlen'" +var_append GCC_WRAPPER_APPEND ' ' '-std=c99' # some help to crosscompile # for x in ip iptables vconfig wget cp mv ln; do