- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
30 lines
965 B
Diff
30 lines
965 B
Diff
From 979b2b6a1aa574a26e8b736049c4207d568f60f3 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Thu, 13 Apr 2017 17:39:07 -0700
|
|
Subject: [PATCH] configure: Pass linker specific options with -Wl
|
|
|
|
This helps make it pass the options to linker correctly
|
|
and we can use non-gcc compilers
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
---
|
|
Upstream-Status: Pending
|
|
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 12a5d5c..5b86730 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -596,7 +596,7 @@ if test -z "$OSAF_HARDEN_FLAGS"; then
|
|
if echo "${CFLAGS} ${CXXFLAGS}" | grep -q -- -O0; then
|
|
OSAF_HARDEN_FLAGS=""
|
|
fi
|
|
- OSAF_HARDEN_FLAGS="${OSAF_HARDEN_FLAGS} -fstack-protector --param ssp-buffer-size=4 -fPIE -pie -zrelro -znow"
|
|
+ OSAF_HARDEN_FLAGS="${OSAF_HARDEN_FLAGS} -fstack-protector --param ssp-buffer-size=4 -fPIE -pie -Wl,-z,relro,-z,now"
|
|
fi
|
|
AC_SUBST(OSAF_HARDEN_FLAGS)
|
|
|