]> git.pld-linux.org Git - packages/hdparm.git/commitdiff
- opt flags pasiing patch. hdparm-3_5-2
authorkloczek <kloczek@pld-linux.org>
Thu, 1 Apr 1999 20:22:51 +0000 (20:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    hdparm-optflags.patch -> 1.1

hdparm-optflags.patch [new file with mode: 0644]

diff --git a/hdparm-optflags.patch b/hdparm-optflags.patch
new file mode 100644 (file)
index 0000000..b980ac8
--- /dev/null
@@ -0,0 +1,15 @@
+diff -urN hdparm-3.1-orig/Makefile hdparm-3.1/Makefile
+--- hdparm-3.1-orig/Makefile   Sat Jul 27 19:07:17 1996
++++ hdparm-3.1/Makefile        Thu Sep 24 12:32:32 1998
+@@ -1,9 +1,10 @@
+ # Makefile for hdparm
++OPTFLAGS = -O2
+  
+ all: hdparm
+ hdparm: hdparm.c /usr/include/linux/hdreg.h
+-      gcc -Wall -Wstrict-prototypes -O2 -s -o hdparm hdparm.c
++      gcc -Wall -Wstrict-prototypes $(OPTFLAGS) -o hdparm hdparm.c
+  
+ install: all hdparm.8
+       if [ -f /usr/sbin/hdparm ]; then rm -f /usr/sbin/hdparm ; fi 
This page took 0.094469 seconds and 4 git commands to generate.