]> git.pld-linux.org Git - packages/hdparm.git/blob - hdparm-optflags.patch
b980ac86e1162eaeefd0f4416a8503089df7f159
[packages/hdparm.git] / hdparm-optflags.patch
1 diff -urN hdparm-3.1-orig/Makefile hdparm-3.1/Makefile
2 --- hdparm-3.1-orig/Makefile    Sat Jul 27 19:07:17 1996
3 +++ hdparm-3.1/Makefile Thu Sep 24 12:32:32 1998
4 @@ -1,9 +1,10 @@
5  # Makefile for hdparm
6 +OPTFLAGS = -O2
7   
8  all: hdparm
9  
10  hdparm: hdparm.c /usr/include/linux/hdreg.h
11 -       gcc -Wall -Wstrict-prototypes -O2 -s -o hdparm hdparm.c
12 +       gcc -Wall -Wstrict-prototypes $(OPTFLAGS) -o hdparm hdparm.c
13   
14  install: all hdparm.8
15         if [ -f /usr/sbin/hdparm ]; then rm -f /usr/sbin/hdparm ; fi 
This page took 0.034472 seconds and 2 git commands to generate.