diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-02-04 01:31:55 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-02-04 01:31:55 +0100 |
commit | 149e2c2d7e59ab7cef2238328070236c16f25eb1 (patch) | |
tree | 16dcfc482d4363f6815126e5e7343eaaa490cd3c /tune/many.pl | |
parent | ef2e621f19c2fd74a7128fad5aa7b66061f73b0f (diff) | |
download | gmp-149e2c2d7e59ab7cef2238328070236c16f25eb1.tar.gz |
More of:
* tune/many.pl: Use $(ASMFLAGS_PIC) and $(CFLAGS_PIC).
Diffstat (limited to 'tune/many.pl')
-rwxr-xr-x | tune/many.pl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tune/many.pl b/tune/many.pl index 9da53c8a8..ba0b0003b 100755 --- a/tune/many.pl +++ b/tune/many.pl @@ -558,14 +558,14 @@ if (defined $ENV{table2}) { my %pictable = ( 'yes' => { - 'suffix' => '_pic', - '-D' => '$(ASMFLAGS_PIC)', - 'cflags' => '$(CFLAGS_PIC)', + 'suffix' => '_pic', + 'asmflags'=> '$(ASMFLAGS_PIC)', + 'cflags' => '$(CFLAGS_PIC)', }, 'no' => { - 'suffix' => '', - '-D' => '', - 'cflags' => '', + 'suffix' => '', + 'asmflags'=> '', + 'cflags' => '', }, ); @@ -770,10 +770,10 @@ foreach my $file_full (@files) { if ($lang eq '.asm') { print MAKEFILE "$objbase.o: $file_full \$(ASM_HEADERS)\n" . - " \$(M4) \$(M4FLAGS) -DOPERATION_$obj $pic->{'-D'} \\\n" . + " \$(M4) \$(M4FLAGS) -DOPERATION_$obj $pic->{'asmflags'} \\\n" . "$renaming" . " $file_full >tmp-$objbase.s\n" . - " \$(CCAS) \$(COMPILE_FLAGS) tmp-$objbase.s -o $objbase.o\n" . + " \$(CCAS) \$(COMPILE_FLAGS) $pic->{'cflags'} tmp-$objbase.s -o $objbase.o\n" . " \$(RM_TMP_S) tmp-$objbase.s\n"; } elsif ($lang eq '.c') { print MAKEFILE @@ -784,7 +784,7 @@ foreach my $file_full (@files) { } elsif ($lang eq '.S') { print MAKEFILE "$objbase.o: $file_full\n" . - " \$(COMPILE) -g $pic->{'-D'} \\\n" . + " \$(COMPILE) -g $pic->{'asmflags'} \\\n" . "$renaming" . " -c $file_full -o $objbase.o\n"; } |