Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix sudo compile error
@ 2013-08-07  9:30 Kai Kang
  2013-08-07  9:30 ` [PATCH 1/1] sudo: quote BUILD_CC Kai Kang
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Kang @ 2013-08-07  9:30 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhangle.Yang

The following changes since commit f63e7f4323368c0d6fe7a1d44393a7e15652d4f2:

  subversion: Add patch to use neon 0.30 (2013-08-07 07:43:47 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib kangkai/sudo
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/sudo

Kai Kang (1):
  sudo: quote BUILD_CC

 meta/recipes-extended/sudo/sudo.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.8.1.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] sudo: quote BUILD_CC
  2013-08-07  9:30 [PATCH 0/1] Fix sudo compile error Kai Kang
@ 2013-08-07  9:30 ` Kai Kang
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Kang @ 2013-08-07  9:30 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhangle.Yang

BUILD_CC is assigned to CC when do compile. If BUILD_CC has multi-items
such as "ccache gcc", compilation fails with:

make: *** No rule to make target `gcc'.  Stop.

Double quote BUILD_CC to avoid this error.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/recipes-extended/sudo/sudo.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index ef2367a..e77c901 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -26,7 +26,7 @@ do_configure_prepend () {
 
 # mksigname/mksiglist are used on build host to generate source files
 do_compile_prepend () {
-	oe_runmake SSP_CFLAGS="" SSP_LDFLAGS="" CC=$BUILD_CC CFLAGS="$BUILD_CFLAGS" CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}"  -C compat mksigname mksiglist
+	oe_runmake SSP_CFLAGS="" SSP_LDFLAGS="" CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}"  -C compat mksigname mksiglist
 }
 
 # Explicitly create ${localstatedir}/lib before do_install to ensure
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-07  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07  9:30 [PATCH 0/1] Fix sudo compile error Kai Kang
2013-08-07  9:30 ` [PATCH 1/1] sudo: quote BUILD_CC Kai Kang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox