Mercurial > gub
changeset 5564:374cafcf304c
freebsd::cross/binutils: remove LDFLAGS. Should fix build on x86.
TODO: see if LDFLAGS can be removed from cross.py. See
http://lists.gnu.org/archive/html/lilypond-devel/2009-09/msg00380.html
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Wed, 16 Sep 2009 08:50:55 +0200 |
parents | 30beb36f7f6a |
children | aa2e877c69e1 |
files | gub/specs/freebsd/cross/binutils.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/freebsd/cross/binutils.py Tue Sep 15 10:08:08 2009 +0200 +++ b/gub/specs/freebsd/cross/binutils.py Wed Sep 16 08:50:55 2009 +0200 @@ -6,6 +6,8 @@ # Add --program-prefix, otherwise we get # i686-freebsd-FOO iso i686-freebsd4-FOO. return (binutils.Binutils.configure_command (self) - + misc.join_lines (''' + # PROMOTEME: if this work, try removing from cross.py + .replace ('LDFLAGS=-L%(system_prefix)s/lib', '') + + misc.join_lines (''' --program-prefix=%(toolchain_prefix)s '''))