summaryrefslogtreecommitdiff
path: root/packages/ksymoops/ksymoops-2.4.9/flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ksymoops/ksymoops-2.4.9/flags.patch')
-rw-r--r--packages/ksymoops/ksymoops-2.4.9/flags.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/packages/ksymoops/ksymoops-2.4.9/flags.patch b/packages/ksymoops/ksymoops-2.4.9/flags.patch
index e69de29bb2..27e4dda923 100644
--- a/packages/ksymoops/ksymoops-2.4.9/flags.patch
+++ b/packages/ksymoops/ksymoops-2.4.9/flags.patch
@@ -0,0 +1,55 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- ksymoops-2.4.9/Makefile~flags
++++ ksymoops-2.4.9/Makefile
+@@ -57,36 +57,36 @@
+ PROGS := ksymoops
+
+ CC := gcc
+-CFLAGS += -Dlinux \
+- -Wall \
++CFLAGS = "-Wall \
+ -Wno-conversion \
+ -Waggregate-return \
+ -Wstrict-prototypes \
+ -Wmissing-prototypes \
++ $(DEBUG)"
++override CFLAGS += -Dlinux \
+ -DINSTALL_PREFIX="\"$(INSTALL_PREFIX)\"" \
+- -DCROSS="\"$(CROSS)\"" \
+- $(DEBUG)
++ -DCROSS="\"$(CROSS)\""
+
+ ifneq ($(DEF_VMLINUX),)
+- CFLAGS += -DDEF_VMLINUX=$(DEF_VMLINUX)
++ override CFLAGS += -DDEF_VMLINUX=$(DEF_VMLINUX)
+ endif
+ ifneq ($(DEF_KSYMS),)
+- CFLAGS += -DDEF_KSYMS=$(DEF_KSYMS)
++ override CFLAGS += -DDEF_KSYMS=$(DEF_KSYMS)
+ endif
+ ifneq ($(DEF_LSMOD),)
+- CFLAGS += -DDEF_LSMOD=$(DEF_LSMOD)
++ override CFLAGS += -DDEF_LSMOD=$(DEF_LSMOD)
+ endif
+ ifneq ($(DEF_OBJECTS),)
+- CFLAGS += -DDEF_OBJECTS=$(DEF_OBJECTS)
++ override CFLAGS += -DDEF_OBJECTS=$(DEF_OBJECTS)
+ endif
+ ifneq ($(DEF_MAP),)
+- CFLAGS += -DDEF_MAP=$(DEF_MAP)
++ override CFLAGS += -DDEF_MAP=$(DEF_MAP)
+ endif
+ ifneq ($(DEF_TARGET),)
+- CFLAGS += -DDEF_TARGET=$(DEF_TARGET)
++ override CFLAGS += -DDEF_TARGET=$(DEF_TARGET)
+ endif
+ ifneq ($(DEF_ARCH),)
+- CFLAGS += -DDEF_ARCH=$(DEF_ARCH)
++ override CFLAGS += -DDEF_ARCH=$(DEF_ARCH)
+ endif
+ ifneq ($(BFD_PREFIX),)
+ CFLAGS += -I$(BFD_PREFIX)/include