aboutsummaryrefslogtreecommitdiff
path: root/package/dmidecode/0001-build-system-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/dmidecode/0001-build-system-fixes.patch')
-rw-r--r--package/dmidecode/0001-build-system-fixes.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/package/dmidecode/0001-build-system-fixes.patch b/package/dmidecode/0001-build-system-fixes.patch
deleted file mode 100644
index 00897f82ad..0000000000
--- a/package/dmidecode/0001-build-system-fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Minor build system fixes
-
-Usual build system fixes to allow CC/CFLAGS/LDFLAGS to be overriden
-from the command line, and completed by additional flags from the
-Makefile.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: b/Makefile
-===================================================================
---- a/Makefile
-+++ b/Makefile
-@@ -12,9 +12,10 @@
- # (at your option) any later version.
- #
-
--CC = gcc
--CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
-- -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
-+CC ?= gcc
-+override CFLAGS += \
-+ -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
-+ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
-
- # Let lseek and mmap support 64-bit wide offsets
- CFLAGS += -D_FILE_OFFSET_BITS=64
-@@ -27,7 +28,7 @@ CFLAGS += -O2
- #CFLAGS += -g
-
- # Pass linker flags here
--LDFLAGS =
-+override LDFLAGS +=
-
- DESTDIR =
- prefix = /usr/local