[3/7] configure: Use a more sensible suffix for x86 assembly tempfiles

Message ID 20180320094930.5424-4-diego@biurrun.de
State Committed
Headers show
Series
  • [1/7] configure: Document available options for the --toolchain parameter
Related show

Commit Message

Diego Biurrun March 20, 2018, 9:49 a.m.
---
 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

James Almer March 22, 2018, 2:05 p.m. | #1
On 3/20/2018 6:49 AM, Diego Biurrun wrote:
> ---
>  configure | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/configure b/configure
> index ce0d791c1b..dbc5759df4 100755
> --- a/configure
> +++ b/configure
> @@ -810,10 +810,10 @@ test_as(){
>  
>  test_x86asm(){
>      log test_x86asm "$@"
> -    echo "$1" > $TMPS
> -    log_file $TMPS
> +    echo "$1" > $TMPASM
> +    log_file $TMPASM
>      shift 1
> -    test_cmd $x86asmexe $X86ASMFLAGS "$@" -o $TMPO $TMPS
> +    test_cmd $x86asmexe $X86ASMFLAGS "$@" -o $TMPO $TMPASM
>  }
>  
>  check_cmd(){

Ok.

Patch

diff --git a/configure b/configure
index ce0d791c1b..dbc5759df4 100755
--- a/configure
+++ b/configure
@@ -810,10 +810,10 @@  test_as(){
 
 test_x86asm(){
     log test_x86asm "$@"
-    echo "$1" > $TMPS
-    log_file $TMPS
+    echo "$1" > $TMPASM
+    log_file $TMPASM
     shift 1
-    test_cmd $x86asmexe $X86ASMFLAGS "$@" -o $TMPO $TMPS
+    test_cmd $x86asmexe $X86ASMFLAGS "$@" -o $TMPO $TMPASM
 }
 
 check_cmd(){