aboutsummaryrefslogtreecommitdiff
path: root/utils/hdparm/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-11-24 20:16:29 -0800
committerRosen Penev <rosenp@gmail.com>2020-11-24 22:39:13 -0800
commitbfc668cbc7854c2779b98ce79f8ef305ee580006 (patch)
tree8cadcde911dfa6130fcfb41ee643fbce2bdd9899 /utils/hdparm/patches
parent1d3c84d4e65e1fb20645be58f49a4ac068f1e96c (diff)
hdparm: update to 9.60
Use PKG_INSTALL and PKG_BUILD_PARALLEL for consistency. Rebase patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/hdparm/patches')
-rw-r--r--utils/hdparm/patches/010-cflags.patch (renamed from utils/hdparm/patches/010-ldflags.patch)4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/hdparm/patches/010-ldflags.patch b/utils/hdparm/patches/010-cflags.patch
index e4778748d..f8b59b87c 100644
--- a/utils/hdparm/patches/010-ldflags.patch
+++ b/utils/hdparm/patches/010-cflags.patch
@@ -1,13 +1,11 @@
--- a/Makefile
+++ b/Makefile
-@@ -13,9 +13,8 @@ oldmandir = $(manprefix)/man
+@@ -13,7 +13,7 @@ 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)
+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 = -s -static
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644