From f8fa91d753c5e716b6fabbe7ede124555552d764 Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 4 Aug 2006 03:33:37 +0000 Subject: [PATCH] add quotes to TARGET_CC and TARGET_CROSS to help with distcc and ccache (yet again) git-svn-id: svn://svn.openwrt.org/openwrt/packages@4431 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/iftop/Makefile | 2 +- net/igmpproxy/Makefile | 2 +- net/irssi/Makefile | 2 +- net/l2tpd/Makefile | 2 +- net/l2tpns/Makefile | 4 ++-- net/maradns/Makefile | 2 +- utils/logrotate/Makefile | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/net/iftop/Makefile b/net/iftop/Makefile index 589dd217c..44501c700 100644 --- a/net/iftop/Makefile +++ b/net/iftop/Makefile @@ -41,7 +41,7 @@ define Build/Compile rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ - CC=$(TARGET_CC) \ + CC="$(TARGET_CC)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ install endef diff --git a/net/igmpproxy/Makefile b/net/igmpproxy/Makefile index 3cda6fcbf..06620e7c5 100644 --- a/net/igmpproxy/Makefile +++ b/net/igmpproxy/Makefile @@ -29,7 +29,7 @@ only IGMP signalling (Internet Group Management Protocol).\\\ endef define Build/Compile - $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/src + $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/src endef diff --git a/net/irssi/Makefile b/net/irssi/Makefile index 42a448c39..7613a42ea 100644 --- a/net/irssi/Makefile +++ b/net/irssi/Makefile @@ -47,7 +47,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ - CC=$(TARGET_CC) + CC="$(TARGET_CC)" endef define Package/irssi/install diff --git a/net/l2tpd/Makefile b/net/l2tpd/Makefile index a3441ecd3..f478e722b 100644 --- a/net/l2tpd/Makefile +++ b/net/l2tpd/Makefile @@ -42,7 +42,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CC=$(TARGET_CC) \ + CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION" endef diff --git a/net/l2tpns/Makefile b/net/l2tpns/Makefile index 2fc0dee23..d9498bf48 100644 --- a/net/l2tpns/Makefile +++ b/net/l2tpns/Makefile @@ -41,8 +41,8 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ - CC=$(TARGET_CC) \ - LD=$(TARGET_CC) \ + CC="$(TARGET_CC) \ + LD=$(TARGET_CC)" \ OPTIM="$(TARGET_CFLAGS)" \ DESTDIR=$(PKG_INSTALL_DIR) \ STAGING_DIR=$(STAGING_DIR) \ diff --git a/net/maradns/Makefile b/net/maradns/Makefile index d019f947d..f06f0edac 100644 --- a/net/maradns/Makefile +++ b/net/maradns/Makefile @@ -45,7 +45,7 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ CFLAGS="$(TARGET_CFLAGS)" \ FLAGS="$(TARGET_CFLAGS)" \ - CC=$(TARGET_CC) \ + CC="$(TARGET_CC)" \ HOSTCC="$(HOSTCC)" mkdir -p $(PKG_INSTALL_DIR)/usr/{bin,sbin} mkdir -p $(PKG_INSTALL_DIR)/usr/man/man{1,5,8} diff --git a/utils/logrotate/Makefile b/utils/logrotate/Makefile index 57f978bba..1bf28a215 100644 --- a/utils/logrotate/Makefile +++ b/utils/logrotate/Makefile @@ -40,7 +40,7 @@ define Build/Compile make -C ${PKG_BUILD_DIR} \ CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ - CC=$(TARGET_CC) logrotate + CC="$(TARGET_CC)" logrotate endef define Package/logrotate/install