hdparm/hdparm-9.8-nostrip.patch

21 lines
764 B
Diff
Raw Normal View History

2009-01-14 12:19:08 +00:00
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
2008-02-25 10:49:53 +00:00
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)
2009-01-14 12:19:08 +00:00
#LDFLAGS = -s -static
2008-02-25 10:49:53 +00:00
-LDFLAGS = -s
2009-01-14 12:19:08 +00:00
+LDFLAGS =
2008-02-25 10:49:53 +00:00
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DIR = $(INSTALL) -m 755 -d
2009-01-14 12:19:08 +00:00
@@ -28,7 +28,6 @@ all: hdparm
2008-02-25 10:49:53 +00:00
hdparm: hdparm.h sgio.h $(OBJS)
$(CC) $(LDFLAGS) -o hdparm $(OBJS)
2009-01-14 12:19:08 +00:00
- $(STRIP) hdparm
2008-02-25 10:49:53 +00:00
2009-01-14 12:19:08 +00:00
hdparm.o: hdparm.h sgio.h
2008-02-25 10:49:53 +00:00