blob: deb1d03503d8449b218d5ff5d785ed12d409454f [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From b3c6e1971786cd93a2e3017c92bfbfe96baaf2f7 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 26 Jul 2017 11:19:56 -0700
4Subject: [PATCH] automake: Add default libtool_tag to cppasm.
5
6 * bin/automake.in (register_language): Define default libtool tag to be CC
7 since CPPASCOMPILE is using CC to call assembler
8
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009Upstream-Status: Submitted
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080010Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012---
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013 bin/automake.in | 1 +
14 1 file changed, 1 insertion(+)
15
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016diff --git a/bin/automake.in b/bin/automake.in
17index 3a66965..08ba09a 100644
18--- a/bin/automake.in
19+++ b/bin/automake.in
20@@ -898,6 +898,7 @@ register_language ('name' => 'cppasm',
21 'libtool_tag' => 'CC',
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022 'compile_flag' => '-c',
23 'output_flag' => '-o',
24+ 'libtool_tag' => 'CC',
25 'extensions' => ['.S', '.sx']);
26
27 # Fortran 77