aboutsummaryrefslogtreecommitdiffstats
path: root/package/logrotate
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-05 16:42:14 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-05 16:42:14 +0000
commit802011ae1f19c3ad17a20a558c20c1ec47286933 (patch)
tree08f4d319f7f85216346f4196c3bf38fd6f4cd556 /package/logrotate
parent04d9a2038a63fe6468a9cf1bc9d9114e3dc281e1 (diff)
downloadbuildroot-novena-802011ae1f19c3ad17a20a558c20c1ec47286933.tar.gz
buildroot-novena-802011ae1f19c3ad17a20a558c20c1ec47286933.zip
logrotate: fix build with external toolchain
Diffstat (limited to 'package/logrotate')
-rw-r--r--package/logrotate/logrotate.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/logrotate/logrotate.mk b/package/logrotate/logrotate.mk
index 8c8cc7c41..f0fae032c 100644
--- a/package/logrotate/logrotate.mk
+++ b/package/logrotate/logrotate.mk
@@ -10,11 +10,11 @@ $(DL_DIR)/$(LOGROTATE_SOURCE):
$(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