diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2017-10-10 15:38:21 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-10-20 09:45:08 +0200 |
commit | ebb77c371e0860e13a933238724cf1bf65aca39f (patch) | |
tree | 7cf65a2893c7866ba086149b546be4ddd8a58339 /sys-apps | |
parent | net-misc/ntp: remove unused patch. (diff) | |
download | gentoo-ebb77c371e0860e13a933238724cf1bf65aca39f.tar.gz gentoo-ebb77c371e0860e13a933238724cf1bf65aca39f.tar.bz2 gentoo-ebb77c371e0860e13a933238724cf1bf65aca39f.zip |
sys-apps/hdparm: remove unused patch.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/hdparm/files/hdparm-9.50-build.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sys-apps/hdparm/files/hdparm-9.50-build.patch b/sys-apps/hdparm/files/hdparm-9.50-build.patch deleted file mode 100644 index ff1948acb01e..000000000000 --- a/sys-apps/hdparm/files/hdparm-9.50-build.patch +++ /dev/null @@ -1,32 +0,0 @@ -* drop hardcoded -O2 flag from CFLAGS -* drop hardcoded -s (strip) flag from LDFLAGS, and respect user LDFLAGS -* fix hardcoded `make` and hardcoded -j2 flags -* respect CFLAGS when linking - ---- a/Makefile -+++ b/Makefile -@@ -13,9 +13,8 @@ - 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 += -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 - --LDFLAGS = -s - #LDFLAGS = -s -static - INSTALL = install - INSTALL_DATA = $(INSTALL) -m 644 -@@ -24,11 +23,10 @@ INSTALL_PROGRAM = $(INSTALL) - - OBJS = hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o wdidle3.o - --all: -- make -j2 hdparm -+all: hdparm - - hdparm: hdparm.h sgio.h $(OBJS) -- $(CC) $(LDFLAGS) -o hdparm $(OBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o hdparm $(OBJS) - $(STRIP) hdparm - - hdparm.o: hdparm.h sgio.h |