-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bc's configure script does not check for the 'ar' tool, which causes bc to always use 'ar' even if the environment contains an AR variable, for example for cross-compilation. Fix this by checking for ar using the automake macro AM_PROG_AR. Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
- Loading branch information
Clemens Lang
committed
Nov 22, 2016
1 parent
89e769a
commit faa987b
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
meta/recipes-extended/bc/files/find-ar-using-automake.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
configure.in: Find AR using automake | ||
|
||
The configure script does not check for the 'ar' tool, which causes bc to | ||
always use 'ar' even if the environment contains an AR variable, for example | ||
for cross-compilation. | ||
|
||
Fix this by checking for ar using the automake macro AM_PROG_AR. | ||
|
||
Upstream-Status: Pending | ||
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de> | ||
--- bc-1.06/configure.in.orig 2016-08-22 16:59:56.200916886 +0200 | ||
+++ bc-1.06/configure.in 2016-08-22 17:00:04.972499574 +0200 | ||
@@ -18,6 +18,7 @@ | ||
AC_PROG_INSTALL | ||
AC_PROG_RANLIB | ||
AC_PROG_MAKE_SET | ||
+AM_PROG_AR | ||
|
||
AC_CHECK_HEADERS(stdarg.h stddef.h stdlib.h string.h limits.h unistd.h lib.h) | ||
AC_C_CONST |