hdparm/hdparm-nostrip.patch
Dirk Mueller 32f2009eba - update to 9.60:
- support for ioSafe Solo with jMicron bridge, courtesy Matthias-Christian Ott.
  - decode more bits from id[69], courtesy Adrián Kálazi.
  - allow passing of custom LDFLAGS from the environment.
  - add new "static" target.
  - fix --dco-identify max sectors, courtesy of Paul Sultana.
  - get rid of leftover "unknown" variables from identify.c
  - fixed return values from get_log_page_data().

OBS-URL: https://build.opensuse.org/package/show/Base:System/hdparm?expand=0&rev=94
2020-12-20 12:49:24 +00:00

21 lines
640 B
Diff

Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -11,7 +11,6 @@ mandir = $(manprefix)/share/man
oldmandir = $(manprefix)/man
CC ?= gcc
-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)
@@ -30,7 +29,6 @@ static:
hdparm: Makefile hdparm.h sgio.h $(OBJS)
$(CC) $(LDFLAGS) -o hdparm $(OBJS)
- $(STRIP) hdparm
hdparm.o: hdparm.h sgio.h