Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH] BSD Yacc doesn't understand --no-lines, so use -l instead.
@ 2014-10-15 20:05 Bruce Cran
  2014-10-15 20:16 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Cran @ 2014-10-15 20:05 UTC (permalink / raw)
  To: fio@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 133 bytes --]

I've attached a patch which fixes building on FreeBSD when bison isn't 
installed. Both BSD and GNU Yacc understand "-l".

-- 
Bruce

[-- Attachment #2: fio-patch.diff --]
[-- Type: text/plain, Size: 689 bytes --]

From 6222c6faf382ef40bad022a06fa2a753cafc1711 Mon Sep 17 00:00:00 2001
From: Bruce Cran <bruce@cran.org.uk>
Date: Wed, 15 Oct 2014 14:01:34 -0600
Subject: [PATCH] BSD Yacc doesn't understand --no-lines, so use -l instead.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 0f77df9..55a93fc 100644
--- a/Makefile
+++ b/Makefile
@@ -276,7 +276,7 @@ y.tab.o: y.tab.c y.tab.h
        $(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $<

 y.tab.c: exp/expression-parser.y
-       $(QUIET_YACC)$(YACC) --no-lines -d -b y exp/expression-parser.y
+       $(QUIET_YACC)$(YACC) -l -d -b y exp/expression-parser.y

 y.tab.h: y.tab.c

--
2.1.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-15 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-15 20:05 [PATCH] BSD Yacc doesn't understand --no-lines, so use -l instead Bruce Cran
2014-10-15 20:16 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox