]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: fix out-of-tree build for hwclock
authorKarel Zak <kzak@redhat.com>
Mon, 25 Nov 2019 12:55:18 +0000 (13:55 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 25 Nov 2019 12:55:18 +0000 (13:55 +0100)
commit897166a86d68bdc2ac613bd14d2ffcba34410fd6
treec92b805bcd7f8ab3fb3f9025a7b51ca35a887c5e
parent0faa7eda0453464991169c394c01554dba8a948d
build-sys: fix out-of-tree build for hwclock

The file sys-utils/hwclock-parse-date.c is generated from .y and
stored in the build directory and "#include hwclock.h" is interpreted
relatively to the build tree rather than to source tree. We need
explicit -I compiler option to point to $srcdir for hwclock.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/Makemodule.am