From 704e9c962d491f4dba31d2922f7a70d92b373d30 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 23 May 2009 13:47:09 +0200 Subject: [PATCH] libthread_xu: Use -Wl,... for passing linker options. Fixes building with clang which doesn't support --version-script. Submitted-by: Alex Hornung --- lib/libthread_xu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libthread_xu/Makefile b/lib/libthread_xu/Makefile index 02ffb4ef08..a5defc5866 100644 --- a/lib/libthread_xu/Makefile +++ b/lib/libthread_xu/Makefile @@ -13,7 +13,7 @@ CFLAGS+= -g # CFLAGS+=-DSYSTEM_SCOPE_ONLY -LDFLAGS=--version-script=${.CURDIR}/pthread.map +LDFLAGS=-Wl,-version-script=${.CURDIR}/pthread.map # enable extra internal consistancy checks CFLAGS+=-D_PTHREADS_INVARIANTS -- 2.11.4.GIT