postgres.git / summary / log / commit / refs
commit a3e39f83632935911bc159154a33e89495f4a676
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat Mar 19 04:43:46 2016 +0000
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.
src/bin/psql/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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)
[parent: 0ea9efbe9ec1]