diff options
Diffstat (limited to 'strata/build-essential/ccache.morph')
-rw-r--r-- | strata/build-essential/ccache.morph | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/strata/build-essential/ccache.morph b/strata/build-essential/ccache.morph index 383eee8a..e990e93a 100644 --- a/strata/build-essential/ccache.morph +++ b/strata/build-essential/ccache.morph @@ -1,8 +1,18 @@ name: ccache kind: chunk build-system: autotools + configure-commands: +# 'dev mode' enables -Werror, which causes the build to fail at time of writing +# due to implicit-fallthrough warnings that are not fixed in 'master'. +- echo > dev_mode_disabled - ./configure --prefix="$PREFIX" + +pre-build-commands: +# Documentation requires asciidoc and can't be disabled cleanly, hence +# this hack. +- echo 'ccache man page isn't built in Baserock systems, sorry' > ccache.1 + install-commands: - make DESTDIR="$DESTDIR" install - mkdir -p "$DESTDIR/$PREFIX/lib/ccache" |