summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/hdparm/files/hdparm-9.60-build.patch4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-apps/hdparm/files/hdparm-9.60-build.patch b/sys-apps/hdparm/files/hdparm-9.60-build.patch
index 7decf805c53a..3cc1a7564e35 100644
--- a/sys-apps/hdparm/files/hdparm-9.60-build.patch
+++ b/sys-apps/hdparm/files/hdparm-9.60-build.patch
@@ -1,3 +1,7 @@
+* drop hardcoded -O2 flag from CFLAGS
+* fix hardcoded `make` and hardcoded -j4 flags
+* respect CFLAGS when linking
+
--- hdparm-9.60/Makefile
+++ hdparm-9.60/Makefile
@@ -13,7 +13,7 @@