[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2311: put pthread libs on syslibs chain instead of gccargs

Mats Wichmann mats at linuxfoundation.org
Mon Apr 25 15:30:33 UTC 2016


------------------------------------------------------------
revno: 2311
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Mon 2016-04-25 09:30:33 -0600
message:
  put pthread libs on syslibs chain instead of gccargs
modified:
  lsbdev-cc/lsbcc.c
  package/Makefile
-------------- next part --------------
=== modified file 'lsbdev-cc/lsbcc.c'
--- a/lsbdev-cc/lsbcc.c	2016-04-25 15:18:32 +0000
+++ b/lsbdev-cc/lsbcc.c	2016-04-25 15:30:33 +0000
@@ -2029,11 +2029,11 @@
 	    if (!b_dynamic && !force_static) {
 		if (lsbcc_debug & DEBUG_LIB_CHANGES)
 		    fprintf(stderr, "Inserting -Wl,-Bdynamic\n");
-		argvaddstring(gccargs, "-Wl,-Bdynamic");
+		argvaddstring(syslibs, "-Wl,-Bdynamic");
 		b_dynamic = 1;
 	    }
-	    argvaddstring(gccargs, "-lpthread");
-	    argvaddstring(gccargs, "-lpthread_nonshared");
+	    argvaddstring(syslibs, "-lpthread");
+	    argvaddstring(syslibs, "-lpthread_nonshared");
 	}
 	if (!cc_is_icc) {
 	    argvappend(gccargs, proginterp);

=== modified file 'package/Makefile'
--- a/package/Makefile	2016-04-25 15:18:32 +0000
+++ b/package/Makefile	2016-04-25 15:30:33 +0000
@@ -54,7 +54,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-BUILDNO=2
+BUILDNO=3
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)



More information about the lsb-messages mailing list