From: Tom Lane Date: Sat, 19 Mar 2016 04:43:46 +0000 (-0400) Subject: Suppress FLEX_NO_BACKUP check for psqlscanslash.l. X-Git-Tag: REL9_6_BETA1~441 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3e39f83632935911bc159154a33e89495f4a676;p=thirdparty%2Fpostgresql.git Suppress FLEX_NO_BACKUP check for psqlscanslash.l. The existing infrastructure for FLEX_NO_BACKUP doesn't work reliably when two lexers are built in parallel in the same directory. We can probably fix that, but as a short-term workaround, just don't make the check for psqlscanslash.l. Per buildfarm. --- diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile index 3b56dbea900..5f4038e2cb6 100644 --- a/src/bin/psql/Makefile +++ b/src/bin/psql/Makefile @@ -48,7 +48,8 @@ psqlscan.c: FLEXFLAGS = -Cfe -p -p psqlscan.c: FLEX_NO_BACKUP=yes psqlscanslash.c: FLEXFLAGS = -Cfe -p -p -psqlscanslash.c: FLEX_NO_BACKUP=yes +# Ideally we'd check this, but parallel make causes problems: +# psqlscanslash.c: FLEX_NO_BACKUP=yes # Latest flex causes warnings in these files. ifeq ($(GCC),yes)