From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] execline: add static build option.
Date: Thu, 13 Aug 2020 07:55:12 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24255@inbox.vuxu.org> (raw)
[-- 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
next reply other threads:[~2020-08-13 5:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-13 5:55 ericonr [this message]
2020-08-13 10:09 ` mobinmob
2020-08-13 10:09 ` mobinmob
2020-08-14 18:32 ` [PR PATCH] [Closed]: " ahesford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24255@inbox.vuxu.org \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).