diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-01-26 16:17:15 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-01-27 09:57:38 +0100 |
commit | 09a1845f46576c17f1d7236889a86cd862207c3f (patch) | |
tree | c56e2a6d1007284ae75228075b2c11c619836c1e /rules/gdb.make | |
parent | 37c0f01b41ba47290d249d716d7994f031780df7 (diff) | |
download | ptxdist-09a1845f46576c17f1d7236889a86cd862207c3f.tar.gz ptxdist-09a1845f46576c17f1d7236889a86cd862207c3f.tar.xz |
gdb: use host_configargs to avoid configure option checking issues
The toplevel configure script does not understand these options, so it
fails with strict option checking if these options are specified directly.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gdb.make')
-rw-r--r-- | rules/gdb.make | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rules/gdb.make b/rules/gdb.make index 03de6a602..e7c43d685 100644 --- a/rules/gdb.make +++ b/rules/gdb.make @@ -41,7 +41,8 @@ endif GDB_ENV := \ $(CROSS_ENV) \ - $(CROSS_ENV_FLAGS_FOR_TARGET) + $(CROSS_ENV_FLAGS_FOR_TARGET) \ + host_configargs='--disable-tui --disable-rpath --without-expat' ifndef PTXCONF_GDB_SHARED GDB_MAKEVARS := LDFLAGS=-static @@ -54,10 +55,8 @@ GDB_AUTOCONF := \ $(CROSS_AUTOCONF_USR) \ --target=$(PTXCONF_GNU_TARGET) \ --with-build-sysroot=$(SYSROOT) \ - --disable-tui \ - --disable-rpath \ - --disable-werror \ - --without-expat + --disable-werror + GDB_BUILD_OOT := YES |