Mercurial > gub
changeset 5389:f18d63f012b4
gcc: override NATIVE_SYSTEM_HEADER_DIR = /usr/... -> %(system_prefix)s/...
This enables move to /GUB.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Wed, 22 Jul 2009 15:21:54 +0200 |
parents | 5c7a8104b4c7 |
children | b0625fd477ef |
files | gub/specs/cross/gcc.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/cross/gcc.py Wed Jul 22 15:21:05 2009 +0200 +++ b/gub/specs/cross/gcc.py Wed Jul 22 15:21:54 2009 +0200 @@ -41,6 +41,8 @@ '%(srcdir)s/gcc/config/i386/linux.h') self.file_sub ([('-dynamic-linker /lib64', '-dynamic-linker %(system_prefix)s/lib')], '%(srcdir)s/gcc/config/i386/linux64.h') + self.file_sub ([('(NATIVE_SYSTEM_HEADER_DIR = )/usr/include', r'\1%(system_prefix)s/include')], + '%(srcdir)s/gcc/Makefile.in') @context.subst_method def NM_FOR_TARGET (self): return '%(toolchain_prefix)snm'