mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
hdparm: use our optimizations
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b55bf4af11
commit
164a086d80
12
packages/tools/hdparm/patches/hdparm-9.39-cflags.patch
Normal file
12
packages/tools/hdparm/patches/hdparm-9.39-cflags.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur hdparm-9.39/Makefile hdparm-9.39.patch/Makefile
|
||||
--- hdparm-9.39/Makefile 2012-01-06 17:05:37.000000000 +0100
|
||||
+++ hdparm-9.39.patch/Makefile 2012-07-28 05:22:53.271127964 +0200
|
||||
@@ -13,7 +13,7 @@
|
||||
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 := -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
|
Loading…
x
Reference in New Issue
Block a user