From e679593dfc0696aed26e81b778dda8f3a19210f0 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Fri, 15 Jun 2012 13:17:10 -0400 Subject: [PATCH] gc: in gccx, -lgc must appears after objects Signed-off-by: Jean Privat --- bin/gccx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/gccx b/bin/gccx index 1749875..e4ff197 100755 --- a/bin/gccx +++ b/bin/gccx @@ -96,7 +96,8 @@ while [ $stop = false ]; do done if [ $nolibgc != true ] && test_libgc; then - OPTS="$OPTS -DWITH_LIBGC -lgc" + OPTS="$OPTS -DWITH_LIBGC" + libs="$libs -lgc" fi if [ $cache = "ccache" ]; then -- 1.7.9.5