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}