* [Buildroot] [PATCH 1/1] package/proxychains-ng: set -fPIC
@ 2023-02-26 15:44 Fabrice Fontaine
2023-02-27 14:47 ` Peter Korsgaard
2023-03-14 11:39 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-02-26 15:44 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Set -fPIC to avoid the following build failure with some architectures
such as mips or aarch64 raised since bump to version 4.14 in commit
35953d1e61aa8581be09c9dca39365955b10590e and
https://github.com/rofl0r/proxychains-ng/commit/35a674bdbc294730429a1007c9e7ce01e65b49b5:
checking what's the option to use in linker to set library name ...
cannot find an option to set library name
Fixes:
- http://autobuild.buildroot.org/results/8ed1481e29321ed3da40251f700cb3bd66f62c94
- http://autobuild.buildroot.org/results/fd01df6eb9a37257894740d44a33eece9123355a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/proxychains-ng/proxychains-ng.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/proxychains-ng/proxychains-ng.mk b/package/proxychains-ng/proxychains-ng.mk
index c4d487c7db..beb8909088 100644
--- a/package/proxychains-ng/proxychains-ng.mk
+++ b/package/proxychains-ng/proxychains-ng.mk
@@ -13,7 +13,8 @@ PROXYCHAINS_NG_CPE_ID_VENDOR = proxychains-ng_project
define PROXYCHAINS_NG_CONFIGURE_CMDS
cd $(@D) && \
- $(TARGET_CONFIGURE_OPTS) ./configure --prefix=/usr --sysconfdir=/etc
+ $(TARGET_CONFIGURE_OPTS) CPPFLAGS="$(TARGET_CPPFLAGS) -fPIC" \
+ ./configure --prefix=/usr --sysconfdir=/etc
endef
define PROXYCHAINS_NG_BUILD_CMDS
--
2.39.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/proxychains-ng: set -fPIC
2023-02-26 15:44 [Buildroot] [PATCH 1/1] package/proxychains-ng: set -fPIC Fabrice Fontaine
@ 2023-02-27 14:47 ` Peter Korsgaard
2023-03-14 11:39 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-02-27 14:47 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Set -fPIC to avoid the following build failure with some architectures
> such as mips or aarch64 raised since bump to version 4.14 in commit
> 35953d1e61aa8581be09c9dca39365955b10590e and
> https://github.com/rofl0r/proxychains-ng/commit/35a674bdbc294730429a1007c9e7ce01e65b49b5:
> checking what's the option to use in linker to set library name ...
> cannot find an option to set library name
> Fixes:
> - http://autobuild.buildroot.org/results/8ed1481e29321ed3da40251f700cb3bd66f62c94
> - http://autobuild.buildroot.org/results/fd01df6eb9a37257894740d44a33eece9123355a
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/proxychains-ng: set -fPIC
2023-02-26 15:44 [Buildroot] [PATCH 1/1] package/proxychains-ng: set -fPIC Fabrice Fontaine
2023-02-27 14:47 ` Peter Korsgaard
@ 2023-03-14 11:39 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-03-14 11:39 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Set -fPIC to avoid the following build failure with some architectures
> such as mips or aarch64 raised since bump to version 4.14 in commit
> 35953d1e61aa8581be09c9dca39365955b10590e and
> https://github.com/rofl0r/proxychains-ng/commit/35a674bdbc294730429a1007c9e7ce01e65b49b5:
> checking what's the option to use in linker to set library name ...
> cannot find an option to set library name
> Fixes:
> - http://autobuild.buildroot.org/results/8ed1481e29321ed3da40251f700cb3bd66f62c94
> - http://autobuild.buildroot.org/results/fd01df6eb9a37257894740d44a33eece9123355a
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2022.11.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-14 11:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-26 15:44 [Buildroot] [PATCH 1/1] package/proxychains-ng: set -fPIC Fabrice Fontaine
2023-02-27 14:47 ` Peter Korsgaard
2023-03-14 11:39 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).