From: Sagaert Johan Date: Sat, 10 Dec 2011 10:46:29 +0000 (+0100) Subject: libcgi: build for target, not host X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1d1c379e9f9aad3956f19a2c3d67eb7701cb48f;p=buildroot.git libcgi: build for target, not host [Peter: Ensure correct CFLAGS are used, whitespace cleanup] Signed-off-by: Sagaert Johan Signed-off-by: Peter Korsgaard --- diff --git a/package/libcgi/libcgi.mk b/package/libcgi/libcgi.mk index 5867ff99db..5a52fa613d 100644 --- a/package/libcgi/libcgi.mk +++ b/package/libcgi/libcgi.mk @@ -3,9 +3,11 @@ # libcgi # ############################################################# -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 + +LIBCGI_VERSION = 1.0 +LIBCGI_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libcgi +LIBCGI_INSTALL_STAGING = YES +# use cross CC/AR rather than host +LIBCGI_MAKE_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS)" AR="$(TARGET_AR)" $(eval $(call AUTOTARGETS))