From 0804e6dfbe735f7dc663ca85a4d94b1d12d75f82 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 13 Jun 2002 10:53:54 +0000 Subject: [PATCH] extended %__spec_build_template and %__spec_install_template by adding CCACHE_DIR and CCACHE_CC variables --- macros.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/macros.in b/macros.in index e4a2ecb..9ff67f8 100644 --- a/macros.in +++ b/macros.in @@ -652,6 +652,8 @@ %__spec_build_body %{___build_body} %__spec_build_post %{___build_post} %__spec_build_template #!%{__spec_build_shell}\ +%{?__ccache_dir:export CCACHE_DIR=%__ccache_dir}\ +%{?__ccache_cc:export CCACHE_CC=%__ccache_cc}\ %{__spec_build_pre}\ %{nil} @@ -669,6 +671,8 @@ %{__os_install_post}\ %{nil} %__spec_install_template #!%{__spec_install_shell}\ +%{?__ccache_dir:export CCACHE_DIR=%__ccache_dir}\ +%{?__ccache_cc:export CCACHE_CC=%__ccache_cc}\ %{__spec_install_pre}\ %{nil}