From 9f7766faf05d2d6af1c93c95cf8a8987808bf6aa Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sat, 7 Sep 2002 22:53:29 +0000 Subject: [PATCH] Fix ASPPCOM value for gas. git-svn-id: http://scons.tigris.org/svn/scons/trunk@461 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/CHANGES.txt | 5 +++++ src/engine/SCons/Tool/gas.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 257cac31..1a00b438 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -29,6 +29,9 @@ RELEASE 0.09 - - Supply an error message if there are no command-line or Default() targets specified. + - Fix the ASPPCOM values for the GNU assembler. + (Bug reported by Brett Polivka.) + From Anthony Roach: - Fixed use of command lines with spaces in their arguments, @@ -51,6 +54,8 @@ RELEASE 0.09 - utility is available, which is much faster than fork()/exec(), and fixes the -j option on several platforms. + - Fix use of -j with multiple targets. + From sam th: - Dynamically check for the existence of utilities with which to diff --git a/src/engine/SCons/Tool/gas.py b/src/engine/SCons/Tool/gas.py index 8d243480..226e3bd8 100644 --- a/src/engine/SCons/Tool/gas.py +++ b/src/engine/SCons/Tool/gas.py @@ -61,7 +61,7 @@ def generate(env, platform): env['AS'] = env.Detect(assemblers) or 'as' env['ASFLAGS'] = '' env['ASCOM'] = '$AS $ASFLAGS -o $TARGET $SOURCES' - env['ASPPCOM'] = '$CC $ASFLAGS $CPPFLAGS -o $TARGET $SOURCES' + env['ASPPCOM'] = '$CC $ASFLAGS $CPPFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES' def exists(env): return env.Detect(assemblers) -- 2.26.2