* [Buildroot] [PATCH 1/1] Don't use host gcc use target tools.(signed-off this time)
@ 2011-12-10 10:46 Sagaert Johan
2011-12-11 22:18 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Sagaert Johan @ 2011-12-10 10:46 UTC (permalink / raw)
To: buildroot
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
---
package/libcgi/libcgi.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/libcgi/libcgi.mk b/package/libcgi/libcgi.mk
index 5867ff9..e70be80 100644
--- a/package/libcgi/libcgi.mk
+++ b/package/libcgi/libcgi.mk
@@ -7,5 +7,7 @@ LIBCGI_VERSION:=1.0
LIBCGI_SOURCE:=libcgi-$(LIBCGI_VERSION).tar.gz
LIBCGI_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libcgi
LIBCGI_INSTALL_STAGING=YES
+#Don't use host compiler
+LIBCGI_MAKE_ENV = CC="$(TARGET_CC)" AR="$(TARGET_AR)"
$(eval $(call AUTOTARGETS))
--
1.7.8
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] Don't use host gcc use target tools.(signed-off this time)
2011-12-10 10:46 [Buildroot] [PATCH 1/1] Don't use host gcc use target tools.(signed-off this time) Sagaert Johan
@ 2011-12-11 22:18 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2011-12-11 22:18 UTC (permalink / raw)
To: buildroot
>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:
Please don't add comments like that in the subject, as that goes in the
final commit message - Rather put it after the '---' line and before the
patch.
Sagaert> Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Sagaert> ---
Sagaert> package/libcgi/libcgi.mk | 2 ++
Sagaert> 1 files changed, 2 insertions(+), 0 deletions(-)
Sagaert> diff --git a/package/libcgi/libcgi.mk b/package/libcgi/libcgi.mk
Sagaert> index 5867ff9..e70be80 100644
Sagaert> --- a/package/libcgi/libcgi.mk
Sagaert> +++ b/package/libcgi/libcgi.mk
Sagaert> @@ -7,5 +7,7 @@ LIBCGI_VERSION:=1.0
Sagaert> LIBCGI_SOURCE:=libcgi-$(LIBCGI_VERSION).tar.gz
Sagaert> LIBCGI_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libcgi
Sagaert> LIBCGI_INSTALL_STAGING=YES
Sagaert> +#Don't use host compiler
Sagaert> +LIBCGI_MAKE_ENV = CC="$(TARGET_CC)" AR="$(TARGET_AR)"
We should also pass TARGET_CFLAGS, to ensure the right compiler flags
are used.
I fixed that up and cleaned up some whitespace issues while I was at it
and committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-11 22:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-10 10:46 [Buildroot] [PATCH 1/1] Don't use host gcc use target tools.(signed-off this time) Sagaert Johan
2011-12-11 22:18 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox