summarylogtreecommitdiffstats
path: root/0003-add-archlinux-as-build-option.patch
diff options
context:
space:
mode:
Diffstat (limited to '0003-add-archlinux-as-build-option.patch')
-rw-r--r--0003-add-archlinux-as-build-option.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0003-add-archlinux-as-build-option.patch b/0003-add-archlinux-as-build-option.patch
new file mode 100644
index 00000000000..3976de203a7
--- /dev/null
+++ b/0003-add-archlinux-as-build-option.patch
@@ -0,0 +1,26 @@
+From a15dae29e472aff257f7aa8d536ab057a683c354 Mon Sep 17 00:00:00 2001
+From: David McFarland <corngood@gmail.com>
+Date: Sat, 8 Apr 2017 15:58:42 -0300
+Subject: [PATCH 3/3] add archlinux as build option
+
+---
+ Makefile | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/Makefile b/Makefile
+index 13b1f74..6b3686b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -26,6 +26,9 @@ else ifeq ("sles",$(OS_NAME))
+ subdir-ccflags-y += -DOS_NAME_SLE
+ else ifeq ("amzn",$(OS_NAME))
+ subdir-ccflags-y += -DOS_NAME_AMZ
++else ifeq ("arch",$(OS_NAME))
++subdir-ccflags-y += -DOS_NAME_ARCH
++OS_VERSION = "0.0"
+ else
+ subdir-ccflags-y += -DOS_NAME_UNKNOWN
+ endif
+--
+2.14.1
+