rendered paste bodyIndex: apgcc
===================================================================
RCS file: /pack/anoncvs/autopackage/apbuild/apgcc,v
retrieving revision 1.85
diff -u -r1.85 apgcc
--- apgcc 2006/04/13 22:58:56 1.85
+++ apgcc 2006/09/07 18:59:44
@@ -211,7 +211,7 @@
if (@files == 1) {
my @options = modifyLinkerOptions(@params);
push @options, @linking2;
-
+
if ($gxx2 && $gxx2->isCxxSource($files[0])) {
# This is a C++ file. Compile twice with different ABIs.
compileSource($files[0], \@ARGV);
@@ -226,7 +226,7 @@
endDoubleCompiling();
} else {
- compileSource($files[0], [@ARGV, @linking], undef);
+ compileSource($files[0], [@ARGV, @linking, @options], undef);
manipulateDeps($files[0], @options);
}
@@ -261,7 +261,7 @@
%capabilities = %old_cap;
} else {
- compileSource($file, [@ARGV, '-c'], undef);
+ compileSource($file, [@params, '-c'], undef);
}
$file = $out;