summaryrefslogtreecommitdiffstats
path: root/backends/Makefile.am
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-04-13 17:39:57 +0200
committerMark Wielaard <[email protected]>2014-04-18 11:46:51 +0200
commit3232479483cad695d1872b879128a23da3953a7d (patch)
tree775fd4f2dc1620baa75c96e7d1e73fb882b57671 /backends/Makefile.am
parentf7cdc74ed34adc539186385342d99b357c3dbb6b (diff)
Remove mudflap build option.
The --enable-mudflap configure build has been broken for 2 years without anybody apparently noticing. GCC 4.9 removed mudflap support. Before release we now run make distcheck with valgrind support. Removal of the mudflap configure option simplifies the build a little. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/Makefile.am')
-rw-r--r--backends/Makefile.am7
1 files changed, 1 insertions, 6 deletions
diff --git a/backends/Makefile.am b/backends/Makefile.am
index 49593ac0..e06841c0 100644
--- a/backends/Makefile.am
+++ b/backends/Makefile.am
@@ -42,13 +42,8 @@ noinst_LIBRARIES = $(libebl_pic)
noinst_DATA = $(libebl_pic:_pic.a=.so)
-if MUDFLAP
-libelf = ../libelf/libelf.a
-libdw = ../libdw/libdw.a
-else
libelf = ../libelf/libelf.so
libdw = ../libdw/libdw.so
-endif
i386_SRCS = i386_init.c i386_symbol.c i386_corenote.c i386_cfi.c \
i386_retval.c i386_regs.c i386_auxv.c i386_syscall.c \
@@ -124,7 +119,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a $(libelf) $(libdw)
$(LINK) -shared -o $(@:.map=.so) \
-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
-Wl,--version-script,$(@:.so=.map) \
- -Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw) $(libmudflap)
+ -Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw)
$(textrel_check)
libebl_i386.so: $(cpu_i386)