aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-03-05 13:48:10 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-03-05 13:48:10 +0000
commitdd4fa59714283cb6eab848a2d5b6f76c15d05f41 (patch)
treed65c3be52a2e54f5dd64719818a1d1a82d7b28ed
parent3e26e195e5e635900137f4c656f439fbadce7448 (diff)
config/gdbserver.conf: Fix bug #3344, remove -static.
Linking gdbserver with -static results in a broken executable, because it's also linked with -Wl,--dynamic-list=${srcdir}/proc-service.list which expects a dynamically-linked executable. The build log contains this warning: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Change-Id: Id74b7360c80a5f1a18531134de354bd0fe5e2a36
-rw-r--r--config/gdbserver.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gdbserver.conf b/config/gdbserver.conf
index d30d90c4..b2ccbbf1 100644
--- a/config/gdbserver.conf
+++ b/config/gdbserver.conf
@@ -4,7 +4,7 @@ latest="binutils-gdb.git~gdb-8.1-branch"
# If yes, only static linking will be used
static_link=yes
-default_configure_flags="LDFLAGS=-static CPPFLAGS=--sysroot=${sysroots} CFLAGS=--sysroot=${sysroots} CXXFLAGS=--sysroot=${sysroots}"
+default_configure_flags="CPPFLAGS=--sysroot=${sysroots} CFLAGS=--sysroot=${sysroots} CXXFLAGS=--sysroot=${sysroots}"
# This is a list of default flags always supplied to "make check".
runtest_flags=""