- real gcc4 fixes. auto/th/lsvpd-0_16_0-1
authorPaweł Sikora <pluto@pld-linux.org>
Wed, 20 Sep 2006 15:33:26 +0000 (15:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lsvpd.spec -> 1.21

lsvpd.spec

index 16b4fd7c2074bb8ac1911aaaf448521ed40c2acf..6d3e2779ee8d973ca879a9714fb718de1fe2d21c 100644 (file)
@@ -7,9 +7,8 @@ License:        GPL
 Group:         Applications/System
 Source0:       http://dl.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
 # Source0-md5: d3abbecb7056816fe3f6ce6729b433cc
+Patch0:                %{name}-gcc4.patch
 URL:           http://linux-diag.sourceforge.net/Lsvpd.html
-# for -fno-unit-at-a-time
-BuildRequires: gcc >= 5:4.0.0
 BuildRequires: perl-base
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: sed >= 4.0
@@ -43,13 +42,13 @@ wypisuje poziomy mikrokodu i firmware'u.
 
 %prep
 %setup -q
+%patch0 -p1
 sed -i -e "s,#!/bin/sh,#!/bin/bash," scripts/lsvpd.in
 
 %build
-# disable unit-at-a-time - see src/init.h
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -fno-unit-at-a-time -Wall -Werror -I../lib" \
+       CFLAGS="%{rpmcflags} -Wall -Werror -I../lib" \
        LDLIBS="-lsgutils"
 
 %install
This page took 0.052242 seconds and 4 git commands to generate.