[Buildroot] svn commit: trunk/buildroot/package/logrotate

jacmet at uclibc.org jacmet at uclibc.org
Thu Mar 5 16:42:14 UTC 2009


Author: jacmet
Date: 2009-03-05 16:42:14 +0000 (Thu, 05 Mar 2009)
New Revision: 25551

Log:
logrotate: fix build with external toolchain

Modified:
   trunk/buildroot/package/logrotate/logrotate.mk


Changeset:
Modified: trunk/buildroot/package/logrotate/logrotate.mk
===================================================================
--- trunk/buildroot/package/logrotate/logrotate.mk	2009-03-05 16:32:27 UTC (rev 25550)
+++ trunk/buildroot/package/logrotate/logrotate.mk	2009-03-05 16:42:14 UTC (rev 25551)
@@ -10,11 +10,11 @@
 
 $(LOGROTATE_DIR)/.source: $(DL_DIR)/$(LOGROTATE_SOURCE)
 	$(ZCAT) $(DL_DIR)/$(LOGROTATE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(LOGROTATE_DIR) package/logrotate/ *.patch	
+	toolchain/patch-kernel.sh $(LOGROTATE_DIR) package/logrotate/ *.patch
 	touch $@
 
 $(LOGROTATE_DIR)/$(LOGROTATE_BINARY): $(LOGROTATE_DIR)/.source
-	$(MAKE) CC=$(TARGET_CC) -C $(LOGROTATE_DIR)
+	$(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS)" -C $(LOGROTATE_DIR)
 
 $(TARGET_DIR)/$(LOGROTATE_TARGET_BINARY): $(LOGROTATE_DIR)/$(LOGROTATE_BINARY)
 	$(MAKE) PREFIX=$(TARGET_DIR) -C $(LOGROTATE_DIR) install




More information about the buildroot mailing list