diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-30 07:41:13 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-30 07:41:13 +0000 |
commit | 2eeb0763572e3126a44fd42964ed4f96b38c5773 (patch) | |
tree | 675362af5a880b8160038fa02db142df98774644 /dev-lang/erlang/files | |
parent | CPOL license added, thanks Johann Schmitz providing the html2txt conversion (diff) | |
download | gentoo-2-2eeb0763572e3126a44fd42964ed4f96b38c5773.tar.gz gentoo-2-2eeb0763572e3126a44fd42964ed4f96b38c5773.tar.bz2 gentoo-2-2eeb0763572e3126a44fd42964ed4f96b38c5773.zip |
Fix building with -Wl,--as-needed wrt #325969 by Christian Faulhammer.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/erlang/files')
-rw-r--r-- | dev-lang/erlang/files/erlang-14.1-lm.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/erlang/files/erlang-14.1-lm.patch b/dev-lang/erlang/files/erlang-14.1-lm.patch new file mode 100644 index 000000000000..2678bc4c7543 --- /dev/null +++ b/dev-lang/erlang/files/erlang-14.1-lm.patch @@ -0,0 +1,15 @@ +http://bugs.gentoo.org/325969 + +erl_printf_format.c:(.text+0xa3e): undefined reference to `log10' + +--- erts/etc/common/Makefile.in ++++ erts/etc/common/Makefile.in +@@ -98,7 +98,7 @@ + ifeq ($(TARGET),win32) + ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal_r$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@ + else +-ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@ ++ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@ -lm + endif + + # ---------------------------------------------------- |