Commit e06fe855 authored by zandobersek@gmail.com's avatar zandobersek@gmail.com

[Automake] Pass --no-demangle to the linker by default to get the mangled symbols

https://bugs.webkit.org/show_bug.cgi?id=115732

Reviewed by Gustavo Noronha Silva.

* GNUmakefile.am: Pass the --no-demangle option to the linker by default. This is done by appending
the flag to the LDFLAGS variable. While the AM_LDFLAGS variable would be more appropriate, it's not
at all used when linking installable libraries like libwebkitgtk and libwebkit2gtk, so the LDFLAGS
variable is used instead.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cf10e282
2013-05-08 Zan Dobersek <zdobersek@igalia.com>
[Automake] Pass --no-demangle to the linker by default to get the mangled symbols
https://bugs.webkit.org/show_bug.cgi?id=115732
Reviewed by Gustavo Noronha Silva.
* GNUmakefile.am: Pass the --no-demangle option to the linker by default. This is done by appending
the flag to the LDFLAGS variable. While the AM_LDFLAGS variable would be more appropriate, it's not
at all used when linking installable libraries like libwebkitgtk and libwebkit2gtk, so the LDFLAGS
variable is used instead.
2013-05-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
[CMAKE] Remove SHADOW_DOM from cmakeconfig.h.cmake
......
......@@ -178,6 +178,11 @@ global_cppflags += \
-DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS
endif
# Default to outputting demangled symbols in case of reporting unresolved references or similar.
# Using AM_LDFLAGS would be more appropriate here, but these are not used at all when linking installable libraries
# like libwebkitgtk and libwebkit2gtk, so appending the linker flag to the LDFLAGS variable is done instead.
LDFLAGS += -Wl,--no-demangle
EXTRA_DIST += \
$(srcdir)/Source/autotools/symbols.filter \
$(srcdir)/Source/WebKit/LICENSE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment