Browse Source

util-vserver: made to compile with new gcc>4.7

user/chris/next/0.4
Nagy Karoly Gabriel 12 years ago committed by Christian Wiese
parent
commit
b4a718b84b
  1. 5
      security/util-vserver/util-vserver.conf

5
security/util-vserver/util-vserver.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../util-vserver/util-vserver.conf # 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 # Copyright (C) 2004 - 2006 The T2 SDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
@ -31,7 +31,8 @@ if [ "$SDECFG_PKG_VSERVER_QUOTA" = "1" ]; then
fi fi
var_remove_regex makeopt ' ' 'CC=.*' var_remove_regex makeopt ' ' 'CC=.*'
var_append makeopt ' ' "CFLAGS='-fno-optimize-strlen'"
var_append GCC_WRAPPER_APPEND ' ' '-std=c99'
# some help to crosscompile # some help to crosscompile
# #
for x in ip iptables vconfig wget cp mv ln; do for x in ip iptables vconfig wget cp mv ln; do

Loading…
Cancel
Save