hdparm/hdparm-8.4-nostrip.patch

22 lines
759 B
Diff
Raw Normal View History

2008-02-25 10:49:53 +00:00
diff -up hdparm-8.4/Makefile.nostrip hdparm-8.4/Makefile
--- hdparm-8.4/Makefile.nostrip 2008-02-16 02:03:24.000000000 +0100
+++ hdparm-8.4/Makefile 2008-02-25 11:45:15.000000000 +0100
@@ -16,7 +16,7 @@ endif
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
+LDFLAGS =
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DIR = $(INSTALL) -m 755 -d
@@ -26,7 +26,7 @@ OBJS = hdparm.o identify.o sgio.o
hdparm: hdparm.h sgio.h $(OBJS)
$(CC) $(LDFLAGS) -o hdparm $(OBJS)
- strip hdparm
+# strip hdparm
sgio.o: sgio.h