mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
time: mark as not available for static-only builds
Due to some code imported from gnulib, the time package doesn't build in static-only configurations. Indeed the gnulib code redefines the error() and error_at_line() functions, which are also provided by the C library. Since fixing the gnulib code is really difficult, let's just disable this package for static-only builds. Fixes: http://autobuild.buildroot.org/results/a0e64faba69fa86755c693f575fb258a77e4e9d1/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -1,7 +1,13 @@
|
|||||||
config BR2_PACKAGE_TIME
|
config BR2_PACKAGE_TIME
|
||||||
bool "time"
|
bool "time"
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
|
# See https://savannah.gnu.org/bugs/index.php?48000
|
||||||
|
depends on !BR2_STATIC_LIBS
|
||||||
help
|
help
|
||||||
The GNU time utility.
|
The GNU time utility.
|
||||||
|
|
||||||
http://savannah.gnu.org/projects/time/
|
http://savannah.gnu.org/projects/time/
|
||||||
|
|
||||||
|
comment "time needs a toolchain w/ dynamic library"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on BR2_STATIC_LIBS
|
||||||
|
|||||||
Reference in New Issue
Block a user