summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-19 20:07:56 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-19 20:07:56 +0100
commita703628e3c813c85b3b55fce49d666e5f1b25b1f (patch)
treeeda33c195a5ebabd8212d0d1541c3f30b255d5c6
parent1c36155d022599996128ca4d2c77d6e6f4f35d45 (diff)
Fix build with recent clang that chokes on "register" keyword
Change-Id: I03f130e5f4f57418c07c43f759bb2c9e8da257f6
-rw-r--r--src/lib/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 4fc3500..6c43e89 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -56,7 +56,7 @@ $(top_builddir)/src/lib/tokens.h : $(top_builddir)/src/lib/tokens.gperf
$(top_builddir)/src/lib/tokenhash.h : $(top_builddir)/src/lib/tokens.gperf
$(GPERF) --compare-strncmp -C -m 20 $(top_builddir)/src/lib/tokens.gperf \
- | $(SED) -e 's/(char\*)0/(char\*)0, 0/g' > $(top_builddir)/src/lib/tokenhash.h
+ | $(SED) -e 's/(char\*)0/(char\*)0, 0/g' -e 's/register //g' > $(top_builddir)/src/lib/tokenhash.h
$(top_builddir)/src/lib/tokens.gperf : $(top_srcdir)/src/lib/tokens.txt gentoken.pl
perl $(top_srcdir)/src/lib/gentoken.pl $(top_srcdir)/src/lib/tokens.txt \