- update nostrip patch

This commit is contained in:
Karsten Hopp 2009-07-17 22:35:54 +00:00
parent 1fd88e7ed7
commit a3f6fc61c4
2 changed files with 11 additions and 20 deletions

11
hdparm-9.16-nostrip.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up hdparm-9.16/Makefile.nostrip hdparm-9.16/Makefile
--- hdparm-9.16/Makefile.nostrip 2009-07-17 22:52:36.000000000 +0200
+++ hdparm-9.16/Makefile 2009-07-17 22:52:42.000000000 +0200
@@ -28,7 +28,6 @@ all: hdparm
hdparm: hdparm.h sgio.h $(OBJS)
$(CC) $(LDFLAGS) -o hdparm $(OBJS)
- $(STRIP) hdparm
hdparm.o: hdparm.h sgio.h

View File

@ -1,20 +0,0 @@
diff -up hdparm-9.8/Makefile.nostrip hdparm-9.8/Makefile
--- hdparm-9.8/Makefile.nostrip 2009-01-14 12:48:52.000000000 +0100
+++ hdparm-9.8/Makefile 2009-01-14 12:49:17.000000000 +0100
@@ -16,7 +16,7 @@ STRIP ?= strip
CFLAGS := -O2 -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 -static
-LDFLAGS = -s
+LDFLAGS =
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DIR = $(INSTALL) -m 755 -d
@@ -28,7 +28,6 @@ all: hdparm
hdparm: hdparm.h sgio.h $(OBJS)
$(CC) $(LDFLAGS) -o hdparm $(OBJS)
- $(STRIP) hdparm
hdparm.o: hdparm.h sgio.h