You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2015/10/29 19:46:26 UTC

[2/2] incubator-mynewt-newt git commit: Don't specify -lc automatically at link time.

Don't specify -lc automatically at link time.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/eea46ae5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/eea46ae5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/eea46ae5

Branch: refs/heads/master
Commit: eea46ae54c15148903659a2e87d50f5d406fe911
Parents: a4a7a41
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Oct 29 10:48:22 2015 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Oct 29 11:16:01 2015 -0700

----------------------------------------------------------------------
 cli/compiler.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/eea46ae5/cli/compiler.go
----------------------------------------------------------------------
diff --git a/cli/compiler.go b/cli/compiler.go
index adb99ce..94cea3a 100644
--- a/cli/compiler.go
+++ b/cli/compiler.go
@@ -428,7 +428,7 @@ func (c *Compiler) CompileBinaryCmd(dstFile string, options map[string]bool,
 
 	cmd := c.ccPath + " -o " + dstFile + " " + c.ldFlags + " " + c.Cflags
 	if c.ldResolveCircularDeps {
-		cmd += " -Wl,--start-group -lc " + objList + " -Wl,--end-group "
+		cmd += " -Wl,--start-group " + objList + " -Wl,--end-group "
 	} else {
 		cmd += " " + objList
 	}