diff --git a/elements/opensuse/install.d/01-ccache-symlinks b/elements/opensuse/install.d/01-ccache-symlinks new file mode 100755 index 00000000..2b14c6c9 --- /dev/null +++ b/elements/opensuse/install.d/01-ccache-symlinks @@ -0,0 +1,9 @@ +#!/bin/bash +set -e + +# Setup ccache symlinks, as openSUSE's ccache package doesn't +# include them. +mkdir -p /usr/lib/ccache +for tool in cc gcc; do + ln -s /usr/bin/ccache /usr/lib/ccache/$tool +done