Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] execline: add static build option.
@ 2020-08-13  5:55 ericonr
  2020-08-13 10:09 ` mobinmob
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ericonr @ 2020-08-13  5:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

There is a new pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages el
https://github.com/void-linux/void-packages/pull/24255

execline: add static build option.
Similar to the one in the runit template.

A patch file from https://github.com/void-linux/void-packages/pull/24255.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-el-24255.patch --]
[-- Type: text/x-diff, Size: 845 bytes --]

From bbfb68d5006d37449f46a1db3a15f5e029a56031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 13 Aug 2020 02:54:07 -0300
Subject: [PATCH] execline: add static build option.

Similar to the one in the runit template.
---
 srcpkgs/execline/template | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template
index 2892bfcbef1..92c5df11259 100644
--- a/srcpkgs/execline/template
+++ b/srcpkgs/execline/template
@@ -17,6 +17,13 @@ checksum=a24c76f097ff44fe50b63b89bcde5d6ba9a481aecddbe88ee01b0e5a7b314556
 
 CFLAGS="-fPIC"
 
+build_options="static"
+
+if [ "$build_option_static" ]; then
+	CFLAGS+=" -static"
+	LDFLAGS+=" -static"
+fi
+
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;;
 esac

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: execline: add static build option.
  2020-08-13  5:55 [PR PATCH] execline: add static build option ericonr
@ 2020-08-13 10:09 ` mobinmob
  2020-08-13 10:09 ` mobinmob
  2020-08-14 18:32 ` [PR PATCH] [Closed]: " ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: mobinmob @ 2020-08-13 10:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/24255#issuecomment-673389587

Comment:
That may be a good thing for every skarnet package in the repo... I will test ASAP.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: execline: add static build option.
  2020-08-13  5:55 [PR PATCH] execline: add static build option ericonr
  2020-08-13 10:09 ` mobinmob
@ 2020-08-13 10:09 ` mobinmob
  2020-08-14 18:32 ` [PR PATCH] [Closed]: " ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: mobinmob @ 2020-08-13 10:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/24255#issuecomment-673389587

Comment:
That may be a nice addition for every skarnet package in the repo... I will test ASAP.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Closed]: execline: add static build option.
  2020-08-13  5:55 [PR PATCH] execline: add static build option ericonr
  2020-08-13 10:09 ` mobinmob
  2020-08-13 10:09 ` mobinmob
@ 2020-08-14 18:32 ` ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2020-08-14 18:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

There's a closed pull request on the void-packages repository

execline: add static build option.
https://github.com/void-linux/void-packages/pull/24255

Description:
Similar to the one in the runit template.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-14 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13  5:55 [PR PATCH] execline: add static build option ericonr
2020-08-13 10:09 ` mobinmob
2020-08-13 10:09 ` mobinmob
2020-08-14 18:32 ` [PR PATCH] [Closed]: " ahesford

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).