From 1e01a4e9017282bb5aa0872760109d618803528e64953309ee7a268f68535362 Mon Sep 17 00:00:00 2001
From: Ruediger Oertel <ro@suse.de>
Date: Tue, 4 Oct 2011 16:06:20 +0000
Subject: [PATCH] Accepting request 86393 from Base:System

- cross-build fix: use %__cc macro (forwarded request 86371 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aaa_base?expand=0&rev=325
---
 aaa_base.changes | 5 +++++
 aaa_base.spec    | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/aaa_base.changes b/aaa_base.changes
index 8250ec7..3d5f4a6 100644
--- a/aaa_base.changes
+++ b/aaa_base.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Sep 30 14:36:31 UTC 2011 - uli@suse.com
+
+- cross-build fix: use %__cc macro
+
 -------------------------------------------------------------------
 Sat Sep 17 10:40:22 UTC 2011 - jengelh@medozas.de
 
diff --git a/aaa_base.spec b/aaa_base.spec
index 80ea0d6..11110f5 100644
--- a/aaa_base.spec
+++ b/aaa_base.spec
@@ -56,7 +56,7 @@ and convenience hacks).
 %setup -n aaa_base
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}
 if test -d patches/$RPM_ARCH; then
 	pushd files
 	for file in ../patches/$RPM_ARCH/*; do