Browse Source

dietlibc: new gcc>4.7 with -O2 or above will try to optimise some string functions, this fails with dietlib so we disable with -fno-optimize-strlen

user/chris/next/0.4
Nagy Karoly Gabriel 12 years ago committed by Christian Wiese
parent
commit
248f1a25e9
  1. 3
      base/dietlibc/dietlibc.conf

3
base/dietlibc/dietlibc.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../dietlibc/dietlibc.conf
# Copyright (C) 2007 - 2009 The OpenSDE Project
# Copyright (C) 2007 - 2012 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@ -107,6 +107,7 @@ fi
var_append makeopt ' ' prefix=/$prefix
var_append makeinstopt ' ' prefix=/$prefix
var_append makeopt ' ' LIBDIR=$libdir
var_append makeopt ' ' "CFLAGS='-fno-optimize-strlen'"
var_append makeinstopt ' ' LIBDIR=$libdir
var_append makeinstopt ' ' BINDIR=$bindir
var_append makeinstopt ' ' MAN1DIR=$mandir/man1

Loading…
Cancel
Save