From: Bruce Cran <bruce@cran.org.uk>
To: "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: [PATCH] BSD Yacc doesn't understand --no-lines, so use -l instead.
Date: Wed, 15 Oct 2014 14:05:57 -0600 [thread overview]
Message-ID: <543ED3A5.1010806@cran.org.uk> (raw)
[-- 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
next reply other threads:[~2014-10-15 20:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 20:05 Bruce Cran [this message]
2014-10-15 20:16 ` [PATCH] BSD Yacc doesn't understand --no-lines, so use -l instead Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543ED3A5.1010806@cran.org.uk \
--to=bruce@cran.org.uk \
--cc=fio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox