summaryrefslogtreecommitdiff
path: root/sys-apps/x86info/files/x86info-1.30-fix-build-system.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/x86info/files/x86info-1.30-fix-build-system.patch')
-rw-r--r--sys-apps/x86info/files/x86info-1.30-fix-build-system.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/x86info/files/x86info-1.30-fix-build-system.patch b/sys-apps/x86info/files/x86info-1.30-fix-build-system.patch
new file mode 100644
index 000000000000..21034d99edc5
--- /dev/null
+++ b/sys-apps/x86info/files/x86info-1.30-fix-build-system.patch
@@ -0,0 +1,12 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,9 +1,5 @@
+ VERSION=1.30
+
+-CFLAGS = -g -O2 -Werror -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls
+-LDFLAGS = -Wl,-z,relro,-z,now
+-CC = gcc
+-
+ SHELL = /bin/sh
+
+ all: x86info test lsmsr