From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/erlang/files: erlang-14.1-lm.patch |
Date: | Wed, 30 Jun 2010 07:41:16 |
Message-Id: | 20100630074113.ECBA22CE15@corvid.gentoo.org |
1 | ssuominen 10/06/30 07:41:13 |
2 | |
3 | Added: erlang-14.1-lm.patch |
4 | Log: |
5 | Fix building with -Wl,--as-needed wrt #325969 by Christian Faulhammer. |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-lang/erlang/files/erlang-14.1-lm.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/erlang/files/erlang-14.1-lm.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/erlang/files/erlang-14.1-lm.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: erlang-14.1-lm.patch |
15 | =================================================================== |
16 | http://bugs.gentoo.org/325969 |
17 | |
18 | erl_printf_format.c:(.text+0xa3e): undefined reference to `log10' |
19 | |
20 | --- erts/etc/common/Makefile.in |
21 | +++ erts/etc/common/Makefile.in |
22 | @@ -98,7 +98,7 @@ |
23 | ifeq ($(TARGET),win32) |
24 | ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal_r$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@ |
25 | else |
26 | -ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@ |
27 | +ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@ -lm |
28 | endif |
29 | |
30 | # ---------------------------------------------------- |