summaryrefslogtreecommitdiff
path: root/packages/util-linux
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-07-18 00:55:55 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-18 00:55:55 +0000
commit3b41e82b84f8c7777401fb6127122593bce17695 (patch)
tree77a14da0c1e36670e3e7c25b4bbc1cbd87560a9c /packages/util-linux
parent2e30070009c31d947210eeda60b7c92309191d2f (diff)
Work round ccache/timestamp problem in util-linux caused by a machine
generated .c seeming to be newer than the .o generated from it (cause by fine granularity make timestamps apparently).
Diffstat (limited to 'packages/util-linux')
-rw-r--r--packages/util-linux/util-linux.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/util-linux/util-linux.inc b/packages/util-linux/util-linux.inc
index df97498c49..5d4ed8063a 100644
--- a/packages/util-linux/util-linux.inc
+++ b/packages/util-linux/util-linux.inc
@@ -33,5 +33,10 @@ do_compile () {
}
do_install () {
- oe_runmake 'DESTDIR=${D}' install
+ # with ccache the timestamps on compiled files may
+ # end up earlier than on their inputs, this allows
+ # for the resultant compilation in the install step.
+ oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= \
+ 'OPT=${CFLAGS}' 'CC=${CC}' 'LD=${LD}' \
+ 'LDFLAGS=${LDFLAGS}' 'DESTDIR=${D}' install
}