[Buildroot] [git commit] swupdate: don't link with librt

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jun 20 20:13:03 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=87f8ff6d2d376fcd7f2a15346d1901f93addf9f1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Buildroot no longer supports toolchains with glibc older than 2.17, so there
is no need to link with librt for clock_* system calls.

Cc: Jörg Krause <joerg.krause at embedded.rocks>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/swupdate/swupdate.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/swupdate/swupdate.config b/package/swupdate/swupdate.config
index 6433470..51869bb 100644
--- a/package/swupdate/swupdate.config
+++ b/package/swupdate/swupdate.config
@@ -26,7 +26,7 @@ CONFIG_CROSS_COMPILE=""
 CONFIG_SYSROOT=""
 CONFIG_EXTRA_CFLAGS=""
 CONFIG_EXTRA_LDFLAGS=""
-CONFIG_EXTRA_LDLIBS="rt"
+CONFIG_EXTRA_LDLIBS=""
 
 #
 # Debugging Options


More information about the buildroot mailing list