aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-03 17:29:14 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-03 17:33:08 -0400
commit4ea17de8f1985273215b515d48fbd59b2ced3cd1 (patch)
tree5434538114f9175efeb671e0e8e4600878b733c9
parent9b0797e268d96e8b46c328792aec3d6289585aa2 (diff)
downloadgdb-4ea17de8f1985273215b515d48fbd59b2ced3cd1.zip
gdb-4ea17de8f1985273215b515d48fbd59b2ced3cd1.tar.gz
gdb-4ea17de8f1985273215b515d48fbd59b2ced3cd1.tar.bz2
Use flex's -t option instead of --stdout
As reported in https://sourceware.org/ml/gdb-patches/2018-05/msg00042.html some old versions of flex (2.5.4) don't support the --stdout switch. Use -t, which is an alias. gdb/ChangeLog: * Makefile.in (%.c: %.l): Use -t instead of --stdout.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1825c2c..1a44240 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-03 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (%.c: %.l): Use -t instead of --stdout.
+
2018-05-03 Pedro Alves <palves@redhat.com>
* s390-linux-nat.c
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index be76928..87d74a7 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2500,7 +2500,7 @@ po/$(PACKAGE).pot: force
mv $@.new $@
%.c: %.l
if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \
- $(FLEX) --stdout $< \
+ $(FLEX) -t $< \
| sed -e '/extern.*malloc/d' \
-e '/extern.*realloc/d' \
-e '/extern.*free/d' \