Patchwork lshw: fix build failure

login
register
mail settings
Submitter Gustavo Zacarias
Date July 4, 2012, 11:29 a.m.
Message ID <1341401380-27266-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/168957/
State Accepted
Commit 185646838f99cf515b379f937232a8f73c2e9931
Headers show

Comments

Gustavo Zacarias - July 4, 2012, 11:29 a.m.
Fix space-unfriendly CC/CXX/AR argument passing.
Fixes build failure
http://autobuild.buildroot.net/results/d8c7b5ef4056a197bb8085b0fcdd09d931aec876/build-end.log

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/lshw/lshw.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Thomas Petazzoni - July 4, 2012, 11:31 a.m.
Le Wed,  4 Jul 2012 08:29:40 -0300,
Gustavo Zacarias <gustavo@zacarias.com.ar> a écrit :

> Fix space-unfriendly CC/CXX/AR argument passing.
> Fixes build failure
> http://autobuild.buildroot.net/results/d8c7b5ef4056a197bb8085b0fcdd09d931aec876/build-end.log
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Peter Korsgaard - July 4, 2012, 12:52 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Fix space-unfriendly CC/CXX/AR argument passing.
 Gustavo> Fixes build failure
 Gustavo> http://autobuild.buildroot.net/results/d8c7b5ef4056a197bb8085b0fcdd09d931aec876/build-end.log

Committed, thanks.

Patch

diff --git a/package/lshw/lshw.mk b/package/lshw/lshw.mk
index 8b4fcc6..d0d97db 100644
--- a/package/lshw/lshw.mk
+++ b/package/lshw/lshw.mk
@@ -6,7 +6,7 @@ 
 
 LSHW_VERSION = B.02.16
 LSHW_SITE = http://ezix.org/software/files
-LSHW_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX) AR=$(TARGET_AR) \
+LSHW_MAKE_OPT = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" AR="$(TARGET_AR)" \
 	RPM_OPT_FLAGS="$(TARGET_CFLAGS)" all
 LSHW_MAKE_ENV = LIBS="$(if $(BR2_NEEDS_GETTEXT),-lintl)"
 LSHW_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT),libintl)