diff options
Diffstat (limited to 'meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch')
-rw-r--r-- | meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch index b66f41ad28..abd33babeb 100644 --- a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch +++ b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch | |||
@@ -1,16 +1,17 @@ | |||
1 | Upstream-Status: Inappropriate [poky-specific fix] | 1 | Actually pass the arguments to RANLIB. |
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
2 | 5 | ||
3 | Index: agent/Makefile.inc | 6 | Index: agent/Makefile.inc |
4 | =================================================================== | 7 | =================================================================== |
5 | --- agent.orig/Makefile.inc | 8 | --- a/Makefile.inc |
6 | +++ agent/Makefile.inc | 9 | +++ b/Makefile.inc |
7 | @@ -88,6 +88,9 @@ ifneq ($(OPSYS),Windows) | 10 | @@ -92,6 +92,7 @@ ifeq ($(OPSYS),GNU/Linux) |
8 | ifneq ($(CC),g++) | 11 | OPTS += -DUSE_uuid_generate=0 |
9 | OPTS += -Wmissing-prototypes | ||
10 | endif | 12 | endif |
11 | + ifneq ($(RANLIB),) | 13 | OPTS += -DENABLE_arch_$(shell uname -m) |
12 | + RANLIB += $@ | 14 | + RANLIB += $@ |
13 | + endif | ||
14 | endif | 15 | endif |
15 | 16 | ||
16 | # Compiler flags definition | 17 | ifneq ($(OPSYS),Windows) |