diff mbox

[uclibc-ng-devel] uClibc-ng - small C library for embedded systems branch master updated. v1.0.20-1-gb5bd012

Message ID 20161209231920.0DCDE10125@helium.openadk.org
State Not Applicable
Headers show

Commit Message

wbx Dec. 9, 2016, 11:19 p.m. UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".

The branch, master has been updated
       via  b5bd012fab8560a78c70edef7e921e2b950dd02f (commit)
      from  2b511ec751c88d39543532b536d238fceabc1644 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b5bd012fab8560a78c70edef7e921e2b950dd02f
Author: Max Filippov <jcmvbkbc@gmail.com>
Date:   Fri Dec 9 13:13:09 2016 -0800

    utils: add -static to CFLAGS when HAVE_SHARED is not set
    
    Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

-----------------------------------------------------------------------

Summary of changes:
 utils/Makefile.in | 4 ++++
 1 file changed, 4 insertions(+)



hooks/post-receive
diff mbox

Patch

diff --git a/utils/Makefile.in b/utils/Makefile.in
index 8666f89..5378973 100644
--- a/utils/Makefile.in
+++ b/utils/Makefile.in
@@ -25,6 +25,10 @@  else
 CFLAGS-utils-shared :=
 endif
 
+ifneq ($(HAVE_SHARED),y)
+CFLAGS-utils += -static
+endif
+
 CFLAGS-ldconfig := -DBUILDING_LINKAGE
 ifeq ($(UCLIBC_STATIC_LDCONFIG),y)
 CFLAGS-ldconfig += -static