[PATCH] automake: Add default libtool_tag to cppasm.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] automake: Add default libtool_tag to cppasm.

Khem Raj
    * bin/automake.in (register_language): Define default libtool tag to be CC
    since CPPASCOMPILE is using CC to call assembler

Signed-off-by: Khem Raj <[hidden email]>
---
 bin/automake.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/automake.in b/bin/automake.in
index 9c4cb8694..c9e2e9ae1 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -797,6 +797,7 @@ register_language ('name' => 'cppasm',
    'compile' => "\$(CCAS) @cpplike_flags \$(AM_CCASFLAGS) \$(CCASFLAGS)",
    'ccer' => 'CPPAS',
    'compiler' => 'CPPASCOMPILE',
+   'libtool_tag' => 'CC',
    'extensions' => ['.S', '.sx']);
 
 # Fortran 77
--
2.13.3


Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] automake: Add default libtool_tag to cppasm.

Mathieu Lirzin
Hello Khem,

Khem Raj <[hidden email]> writes:

>     * bin/automake.in (register_language): Define default libtool tag to be CC
>     since CPPASCOMPILE is using CC to call assembler
>
> Signed-off-by: Khem Raj <[hidden email]>
> ---
>  bin/automake.in | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/bin/automake.in b/bin/automake.in
> index 9c4cb8694..c9e2e9ae1 100644
> --- a/bin/automake.in
> +++ b/bin/automake.in
> @@ -797,6 +797,7 @@ register_language ('name' => 'cppasm',
>     'compile' => "\$(CCAS) @cpplike_flags \$(AM_CCASFLAGS) \$(CCASFLAGS)",
>     'ccer' => 'CPPAS',
>     'compiler' => 'CPPASCOMPILE',
> +   'libtool_tag' => 'CC',
>     'extensions' => ['.S', '.sx']);
>  
>  # Fortran 77

Would it be possible for you to provide a minimal example/scenario which
demonstrates the issue solved?

Sorry for the delay.

Thank you.

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] automake: Add default libtool_tag to cppasm.

Mathieu Lirzin
In reply to this post by Khem Raj
Hello,

Khem Raj <[hidden email]> writes:

>     * bin/automake.in (register_language): Define default libtool tag to be CC
>     since CPPASCOMPILE is using CC to call assembler
>
> Signed-off-by: Khem Raj <[hidden email]>
> ---

Pushed as commit dc67b18d6648899ee284b66ca1529c47495672ea.

Thanks for your contribution and sorry for the delay.

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37