[Buildroot] [PATCH 1/1] Don't use host gcc use target tools.(signed-off this time)
Peter Korsgaard
jacmet at uclibc.org
Sun Dec 11 22:18:00 UTC 2011
>>>>> "Sagaert" == Sagaert Johan <sagaert.johan at 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 at 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
More information about the buildroot
mailing list