Skip to content

Commit

Permalink
llgo: change darwin -> darwin11 in computeTriple.
Browse files Browse the repository at this point in the history
Using darwin11 rather than just darwin enables TLS support,
making llgo-dist run without manually specifying a target
triple.

Related to go-llvm#36
  • Loading branch information
quarnster committed Sep 17, 2013
1 parent d07ab3e commit a4fc3ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llgo/llgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ func computeTriple() string {
switch targetOS {
case "windows":
targetOS = "win32"
case "darwin":
// Using darwin11 rather than just darwin enables TLS support,
// making llgo-dist run without manually specifying a target
// triple
targetOS = "darwin11"
}

tripleArch := getTripleArchName(targetArch)
Expand Down

0 comments on commit a4fc3ad

Please sign in to comment.