jobcore/hdparm/pass-ldflags.patch
2022-03-20 14:19:37 +02:00

11 lines
575 B
Diff

diff -aur hdparm-9.58/Makefile hdparm-9.58.new/Makefile
--- hdparm-9.60/Makefile 2017-05-01 21:08:42.000000000 +0200
+++ hdparm-9.60.new/Makefile 2019-09-22 19:19:03.783229803 +0200
@@ -15,6 +15,7 @@
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