From 683cd9fa37c6fb13e0e5ecc9573e355c8d756ecb Mon Sep 17 00:00:00 2001 From: Phil Knirsch Date: Feb 27 2008 14:33:19 +0000 Subject: - Final fix for gcc-4.3 rebuild problem. --- diff --git a/freeipmi.spec b/freeipmi.spec index ab488f6..5f2bb86 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -66,9 +66,9 @@ Provides a tool and a daemon for IPMI node detection. %patch1 -p1 -b .regex %build -%configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ +CFLAGS=-D_GNU_SOURCE %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ %{?_enable_debug} --disable-static -CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} +CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -286,7 +286,7 @@ fi %{_mandir}/man8/ipmidetectd.8* %changelog -* Thu Feb 21 2008 Phil Knirsch - 0.5.1-3 +* Wed Feb 27 2008 Phil Knirsch - 0.5.1-3 - Fix GCC 4.3 rebuild problems * Tue Feb 19 2008 Fedora Release Engineering - 0.5.1-2