- enable debuginfo
This commit is contained in:
parent
b37d37f8cb
commit
a7e55c6f31
11
hdparm-5.9-nostrip.patch
Normal file
11
hdparm-5.9-nostrip.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- hdparm-5.9/Makefile.rh1 2005-05-10 10:35:32.000000000 +0200
|
||||
+++ hdparm-5.9/Makefile 2005-05-10 10:35:35.000000000 +0200
|
||||
@@ -16,7 +16,7 @@
|
||||
CFLAGS := -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
|
||||
|
||||
|
||||
-LDFLAGS = -s
|
||||
+LDFLAGS =
|
||||
INSTALL = install
|
||||
INSTALL_DATA = $(INSTALL) -m 644
|
||||
INSTALL_PROGRAM = $(INSTALL)
|
@ -7,6 +7,7 @@ Group: Applications/System
|
||||
Source: http://www.ibiblio.org/pub/Linux/system/hardware/hdparm-%{version}.tar.gz
|
||||
Source1: hdparm-sysconfig
|
||||
Patch0: hdparm-5.8-help.patch
|
||||
Patch1: hdparm-5.9-nostrip.patch
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
@ -18,6 +19,7 @@ performance and to spin down hard drives for power conservation.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
perl -pi -e "s/-O2/$RPM_OPT_FLAGS/g" Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user