mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-18 06:41:51 -09:00
Ntpsec unconditionally uses PIE to compile code. This breaks compilation for at least microblaze-uclibc and m68k-uclibc toolchains. Also in Buildroot context, PIE should anyway be governed by BR2_PIC_PIE. It would be better to add a configure option to allow to disable pie support, but this is something for a waf expert. Fixes: - http://autobuild.buildroot.net/results/77f/77f4e4065874d022a2ae98d82508242f551e224c - http://autobuild.buildroot.net/results/e45/e45b65f2aa323df075d54ff43b0401b5ac7c6eb5 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
27 lines
720 B
Diff
27 lines
720 B
Diff
From 712675fbd2a736df817fecd7bfb39055946ef85b Mon Sep 17 00:00:00 2001
|
|
From: Waldemar Brodkorb <wbx@openadk.org>
|
|
Date: Sun, 13 Aug 2023 13:48:03 +0200
|
|
Subject: [PATCH] disable PIE support
|
|
|
|
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
|
Upstream: N/A Not upstreamable
|
|
---
|
|
wscript | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/wscript b/wscript
|
|
index 292e3a45b..105c7eac2 100644
|
|
--- a/wscript
|
|
+++ b/wscript
|
|
@@ -299,7 +299,6 @@ def configure(ctx):
|
|
|
|
cc_test_flags = [
|
|
('PIC', '-fPIC'),
|
|
- ('PIE', '-pie -fPIE'),
|
|
# this quiets most of macOS warnings on -fpie
|
|
('unused', '-Qunused-arguments'),
|
|
# This is a useless warning on any architecture with a barrel
|
|
--
|
|
2.39.2
|
|
|