summaryrefslogtreecommitdiff
path: root/net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch')
-rw-r--r--net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch b/net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch
new file mode 100644
index 000000000000..9e5ff3411af5
--- /dev/null
+++ b/net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch
@@ -0,0 +1,23 @@
+--- openl2tp-1.8/Makefile.orig 2020-07-11 10:04:54.485853377 +0300
++++ openl2tp-1.8/Makefile 2020-07-11 10:21:10.616327547 +0300
+@@ -69,13 +69,13 @@
+
+ # END CONFIGURABLE SETTINGS
+
+-AS = $(CROSS_COMPILE)as
+-LD = $(CROSS_COMPILE)ld
+-CC = $(CROSS_COMPILE)gcc
+-AR = $(CROSS_COMPILE)ar
+-NM = $(CROSS_COMPILE)nm
+-STRIP = $(CROSS_COMPILE)strip
+-INSTALL = $(CROSS_COMPILE)install
++AS ?= $(CROSS_COMPILE)as
++LD ?= $(CROSS_COMPILE)ld
++CC ?= $(CROSS_COMPILE)gcc
++AR ?= $(CROSS_COMPILE)ar
++NM ?= $(CROSS_COMPILE)nm
++STRIP ?= $(CROSS_COMPILE)strip
++INSTALL ?= $(CROSS_COMPILE)install
+
+ ifneq ($(READLINE_DIR),)
+ READLINE_LDFLAGS= -L $(READLINE_DIR)/lib