[packages/dumb-init] - make static binbary really static - rel 4

baggins baggins at pld-linux.org
Sun Sep 18 22:45:55 CEST 2016


commit 15ddeef39ee401eb3121de2edd22ab6c69857d9d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Sep 18 22:45:38 2016 +0200

    - make static binbary really static
    - rel 4

 dumb-init.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dumb-init.spec b/dumb-init.spec
index fbdd4bd..68a608d 100644
--- a/dumb-init.spec
+++ b/dumb-init.spec
@@ -5,7 +5,7 @@
 Summary:	A minimal init system for Linux containers
 Name:		dumb-init
 Version:	1.0.1
-Release:	3
+Release:	4
 License:	MIT
 Group:		Base
 Source0:	https://github.com/Yelp/dumb-init/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -41,7 +41,7 @@ This package contains statically linked version of dumb-init.
 %if %{with static}
 %{__make} \
 	CC="musl-gcc" \
-	CFLAGS="%{rpmcflags} -std=gnu99 -Wall -Werror"
+	CFLAGS="%{rpmcflags} -std=gnu99 -Wall -Werror -static"
 mv dumb-init dumb-init-static
 %{__make} clean
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dumb-init.git/commitdiff/15ddeef39ee401eb3121de2edd22ab6c69857d9d



More information about the pld-cvs-commit mailing list