diff options
author | Ray Donnelly <mingw.android@gmail.com> | 2013-09-14 02:45:23 +0100 |
---|---|---|
committer | Ray Donnelly <mingw.android@gmail.com> | 2013-09-14 02:45:23 +0100 |
commit | d2bc2be8db11a678c5caff8a6a5b6bcadd3fc3b7 (patch) | |
tree | f2441559157b0836837a166324247895974dcdbb /kconfig | |
parent | c0c6db07fe47150709dd863a8aab9d324b8cb6df (diff) | |
download | crosstool-ng-d2bc2be8db11a678c5caff8a6a5b6bcadd3fc3b7.tar.gz crosstool-ng-d2bc2be8db11a678c5caff8a6a5b6bcadd3fc3b7.tar.bz2 crosstool-ng-d2bc2be8db11a678c5caff8a6a5b6bcadd3fc3b7.zip |
configure: Add --with-gperf option
On OS X, Apple supply an old gperf (3.0.3) with xcode and
xcode commandline tools which causes build failures:
./zconf.hash.c:183:17: error: expected expression
{offsetof(struct kconf_id_strings_t, kconf_id_strings_str2),
.. upgrading to gperf 3.0.4 was sufficient to fix this,
so this option allows the user to specify the gperf
program that they wish to use.
To install gperf 3.0.4 from homebrew, I did:
brew tap homebrew/dupes
brew install homebrew/dupes/gperf
.. then passed --with-gperf=$BREWFIX/Cellar/gperf/3.0.4/bin/gperf
to configure
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Message-Id: <CAOYw7dtCmcJ9WiqmQ81MmZeRPcV-tDOqe9=kRDW4uQGuZNd2Ng@mail.gmail.com>
Patchwork-Id: 274892
Diffstat (limited to 'kconfig')
-rw-r--r-- | kconfig/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile index 93b3fe60..f7db96a6 100644 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -84,7 +84,7 @@ zconf.tab.c: zconf.y zconf.hash.c: zconf.gperf @echo " GPERF '$@'" - @gperf < $< > $@ + @$(gperf) < $< > $@ lex.zconf.c: zconf.l @echo " LEX '$@'" |