Mercurial > gub
changeset 87:e28246290fe8
Set APBUILD_G-- variables to avoid using gcc-4.0
author | janneke <janneke@gnu.org> |
---|---|
date | Thu, 01 Dec 2005 19:08:07 +0100 |
parents | 88045c5bef4f |
children | 335fb1b49d79 |
files | driver.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/driver.py Thu Dec 01 18:55:49 2005 +0100 +++ b/driver.py Thu Dec 01 19:08:07 2005 +0100 @@ -108,13 +108,19 @@ platform = 'linux' settings.target_architecture = settings.build_architecture # Use apgcc to avoid using too new GLIBC symbols - # possibly -Wl,--as-needed has same effect. + # possibly gcc/g++ -Wl,--as-needed, ld --as-needed has + # same effect? settings.gcc = 'apgcc' settings.gxx = 'apg++' settings.ld = 'ld --as-needed' settings.tool_prefix = '' os.environ['CC'] = settings.gcc os.environ['CXX'] = settings.gxx + # FIXME: some libraries, gettext eg, do not build with + # gcc-4.0. + os.environ['APBUILD_CC'] = 'gcc-3.4' + # CXX1 for < 3.4 abi, CXX2 for >= 3.4 abi + os.environ['APBUILD_CXX2'] = 'g++-3.4' os.environ['LD'] = settings.ld gub.start_log ()