From dc6f4b1b88cc16d0f1cace1543ba035d7479c06fb0dbe36ce2a6820e74d7e70c Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Thu, 6 Oct 2011 22:50:44 +0000 Subject: [PATCH] Accepting request 86931 from network:utilities - cross-build fix: use %__cc macro (forwarded request 86725 from uli_suse) OBS-URL: https://build.opensuse.org/request/show/86931 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpd?expand=0&rev=14 --- tcpd.changes | 5 +++++ tcpd.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tcpd.changes b/tcpd.changes index f650098..2a53a48 100644 --- a/tcpd.changes +++ b/tcpd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 5 15:03:33 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro + ------------------------------------------------------------------- Mon Feb 1 12:34:48 UTC 2010 - jengelh@medozas.de diff --git a/tcpd.spec b/tcpd.spec index 8aa3fe3..69b10dd 100644 --- a/tcpd.spec +++ b/tcpd.spec @@ -1,7 +1,7 @@ # -# spec file for package tcpd (Version 7.6) +# spec file for package tcpd # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -129,7 +129,7 @@ to compile and link programs against the TCP wrapper library. %build # make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -D_REENTRANT -DHAVE_STRERROR" LDFLAGS="-pie" MAJOR=%{LIB_MAJOR} MINOR=%{LIB_MINOR} REL=%{LIB_REL} linux -make %{?jobs:-j%jobs} linux +make %{?jobs:-j%jobs} linux CC="%{__cc}" %install install -d -m 755 $RPM_BUILD_ROOT%{_includedir}