mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
8e1b62d4bb
Fixes CVEs: - CVE-2020-35498 - In DPDK: CVE-2015-8011 and CVE-2020-27827 - In LLDP: CVE-2019-14818, CVE-2020-10722, CVE-2020-10723 and CVE-2020-10724 Removed patches: - 0001-compat-Include-confirm_neigh-parameter-if-needed.patch because they are included in this release as it was backported - 0010-acinclude-Fix-build-with-kernels-with-prandom-moved-.patch included in this release as it was backported Other patches were refreshed. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From c3bd9af7beb085b134235c80c03b96caf4063da4 Mon Sep 17 00:00:00 2001
|
|
From: Yousong Zhou <yszhou4tech@gmail.com>
|
|
Date: Mon, 16 Mar 2020 15:18:16 +0800
|
|
Subject: [PATCH] datapath: unexport LDFLAGS
|
|
|
|
OpenWrt build system will put "-specs=.../hardened-pie-ld.specs" into
|
|
LDFLAGS when building PIE binaries. However the "-specs" argument is
|
|
inteneded for "gcc" the driver while "ld" the linker when presented will
|
|
complain it as unrecognized error.
|
|
|
|
This can cause Kbuild error when building datapath kernel modules. The
|
|
issue should only happen when compiling against upstream kernel 4.14 and
|
|
earlier. Later ones should have been fixed with kernel upstream commit
|
|
d503ac531a5 ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS")
|
|
|
|
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
---
|
|
datapath/linux/Makefile.in | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/datapath/linux/Makefile.in
|
|
+++ b/datapath/linux/Makefile.in
|
|
@@ -1,5 +1,6 @@
|
|
ifeq ($(KERNELRELEASE),)
|
|
# We're being called directly by running make in this directory.
|
|
+unexport LDFLAGS
|
|
include Makefile.main
|
|
else
|
|
# We're being included by the Linux kernel build system
|