Skip to contentSkip to conversation

radvd: fix build against older glibc

PATCH New Baruch Siach 2 participants 2 messages Jun 27, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 radvd: fix build against older glibc

clock_gettime() requires -lrt when linking against glibc older than 2.17.

Fixes:
http://autobuild.buildroot.net/results/e07/e07dd9a82ae4c8778b6901b9bd777f5affb9293a/

---
 package/radvd/radvd.mk | 1 +
 1 file changed, 1 insertion(+)
package/radvd/radvd.mk +1 -0
index 5958d9145b0f..8d95703a9aab 100644
@@ -8,6 +8,7 @@ RADVD_VERSION = 1.13
 RADVD_SOURCE = radvd-$(RADVD_VERSION).tar.xz
 RADVD_SITE = http://www.litech.org/radvd/dist
 RADVD_DEPENDENCIES = host-bison flex libdaemon host-flex host-pkgconf
+RADVD_CONF_ENV = LIBS=-lrt
 
 define RADVD_INSTALL_INITSCRIPT
 	$(INSTALL) -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d
Signature · 1 line
2.0.0
#1 lore raw

PATCH 1/1 radvd: fix build against older glibc

Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

clock_gettime() requires -lrt when linking against glibc older than 2.17. Fixes:
http://autobuild.buildroot.net/results/e07/e07dd9a82ae4c8778b6901b9bd777f5affb9293a/

---
 package/radvd/radvd.mk | 1 +
 1 file changed, 1 insertion(+)
package/radvd/radvd.mk +0 -0
index 5958d9145b0f..8d95703a9aab 100644

package/radvd/radvd.mk RADVD_VERSION = 1.13 · line 11

Quoted 4 lines
package/radvd/radvd.mk +1 -0
@@ -8,6 +8,7 @@ RADVD_VERSION = 1.13
 RADVD_SOURCE = radvd-$(RADVD_VERSION).tar.xz
 RADVD_SITE = http://www.litech.org/radvd/dist
 RADVD_DEPENDENCIES = host-bison flex libdaemon host-flex host-pkgconf
+RADVD_CONF_ENV = LIBS=-lrt

Committed with the description why added just above this line, thanks.

Signature · 1 line
Bye, Peter Korsgaard