PKGBUILDs/core/linux-odroid-xu3/0003-remove-backports-cflags.patch

37 lines
1 KiB
Diff
Raw Normal View History

2015-05-30 01:04:09 +00:00
From 9bef5c5589a1981661962834968aba8977fa1a5d Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Fri, 29 May 2015 18:41:01 -0600
Subject: [PATCH 3/3] remove backports cflags
---
backports/Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/backports/Makefile b/backports/Makefile
index 99030eb..740fcf9 100644
--- a/backports/Makefile
+++ b/backports/Makefile
@@ -14,8 +14,7 @@ NOSTDINC_FLAGS := \
-DCONFIG_BACKPORT_VERSION=\"$(BACKPORTS_VERSION)\" \
-DCONFIG_BACKPORT_KERNEL_VERSION=\"$(BACKPORTED_KERNEL_VERSION)\" \
-DCONFIG_BACKPORT_KERNEL_NAME=\"$(BACKPORTED_KERNEL_NAME)\" \
- $(BACKPORTS_GIT_TRACKER_DEF) \
- $(CFLAGS)
+ $(BACKPORTS_GIT_TRACKER_DEF)
export backport_srctree = $(M)
else
@@ -26,8 +25,7 @@ NOSTDINC_FLAGS := \
-I$(BACKPORT_DIR)/backport-include/uapi \
-I$(BACKPORT_DIR)/include/ \
-I$(BACKPORT_DIR)/include/uapi \
- -include $(BACKPORT_DIR)/backport-include/backport/backport.h \
- $(CFLAGS)
+ -include $(BACKPORT_DIR)/backport-include/backport/backport.h
endif
--
2.4.1