summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-07-22 07:57:20 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-22 07:57:20 +0200
commit95b1d004f653be9977851ddbc92f18c4049b0c7a (patch)
treecf03a53513602d2447779719dfd4897bb1bd9c82
parent11eb084fc79a75395465a95facfc95bac395e4b2 (diff)
parent9e2bdce02c45edbb65bffb9a31a423de9ccbff3f (diff)
Merge branch 'master' of ssh://uclibc.org/var/lib/git/buildroot
-rw-r--r--package/memstat/memstat.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/memstat/memstat.mk b/package/memstat/memstat.mk
index 7220aeeeb..a54509ac1 100644
--- a/package/memstat/memstat.mk
+++ b/package/memstat/memstat.mk
@@ -21,15 +21,17 @@ $(MEMSTAT_DIR)/.configured: $(MEMSTAT_DIR)/.unpacked
touch $@
$(MEMSTAT_DIR)/memstat: $(MEMSTAT_DIR)/.configured
- $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(@D)/memstat.c -o $@
+ $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
+ $(CFLAGS_WHOLE_PROGRAM) $(@D)/memstat.c -o $@
$(TARGET_DIR)/usr/bin/memstat: $(MEMSTAT_DIR)/memstat
[ -e $(TARGET_DIR)/etc/memstat.conf ] || \
- $(INSTALL) -m 0644 -D $(^D)/memstat.conf $(TARGET_DIR)/etc
+ $(INSTALL) -m 0644 -D $(^D)/memstat.conf \
+ $(TARGET_DIR)/etc/memstat.conf
$(INSTALL) -m 0755 -D $^ $@
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
-memstat: uclibc $(TARGET_DIR)/usr/bin/memstat
+memstat: $(TARGET_DIR)/usr/bin/memstat
memstat-source: $(DL_DIR)/$(MEMSTAT_SOURCE)