summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/sudo/sudo.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
index 5a31bb7d2..d285e2ba0 100644
--- a/package/sudo/sudo.mk
+++ b/package/sudo/sudo.mk
@@ -52,11 +52,13 @@ $(SUDO_DIR)/.configured: $(SUDO_DIR)/.unpacked $(SUDO_CONFIG_FILE)
$(SUDO_DIR)/sudo: $(SUDO_DIR)/.configured
$(MAKE) -C $(SUDO_DIR)
+ touch -c $(SUDO_DIR)/sudo
$(TARGET_DIR)/usr/bin/sudo: $(SUDO_DIR)/sudo
# Use fakeroot to pretend to do 'make install' as root
echo "$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR="$(TARGET_DIR)" -C $(SUDO_DIR) install" \
> $(STAGING_DIR)/.fakeroot.sudo
+ touch -c $(TARGET_DIR)/usr/bin/sudo
sudo: uclibc $(TARGET_DIR)/usr/bin/sudo