]> granicus.if.org Git - postgresql/commitdiff
Suppress FLEX_NO_BACKUP check for psqlscanslash.l.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 Mar 2016 04:43:46 +0000 (00:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 Mar 2016 04:43:46 +0000 (00:43 -0400)
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

index 3b56dbea900cb739406f8c05ef7ec5b0ca83a45f..5f4038e2cb6c66042cf8ee788424da1271b3ba31 100644 (file)
@@ -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)