diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2020-07-11 10:52:08 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2020-07-11 10:55:45 +0300 |
commit | fcee0a2dfee5920e09772a604f72faa96d264209 (patch) | |
tree | 24fb8410843f87b621847c82cec832c346fa8341 /net-dialup | |
parent | net-dialup/openl2tp: update homepage (diff) | |
download | gentoo-fcee0a2dfee5920e09772a604f72faa96d264209.tar.gz gentoo-fcee0a2dfee5920e09772a604f72faa96d264209.tar.bz2 gentoo-fcee0a2dfee5920e09772a604f72faa96d264209.zip |
net-dialup/openl2tp: use native tc variables
If native toolchain variables are provided (e.g. CC), use them.
Closes: https://bugs.gentoo.org/724964
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch | 23 | ||||
-rw-r--r-- | net-dialup/openl2tp/openl2tp-1.8-r1.ebuild | 1 |
2 files changed, 24 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 diff --git a/net-dialup/openl2tp/openl2tp-1.8-r1.ebuild b/net-dialup/openl2tp/openl2tp-1.8-r1.ebuild index 2d42d7523f40..778f59179e29 100644 --- a/net-dialup/openl2tp/openl2tp-1.8-r1.ebuild +++ b/net-dialup/openl2tp/openl2tp-1.8-r1.ebuild @@ -47,6 +47,7 @@ PATCHES=( "${FILESDIR}/${P}-configure-Makefile.patch" "${FILESDIR}/${P}-cflags.patch" "${FILESDIR}/${P}-tirpc.patch" + "${FILESDIR}/${P}-native-tc.patch" ) src_prepare() { |