Skip to content

[Build] Add -gnu in x86_64 Linux's triple #2353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Build/Triple.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public struct Triple: Encodable {
}

public static let macOS = try! Triple("x86_64-apple-macosx")
public static let x86_64Linux = try! Triple("x86_64-unknown-linux")
public static let x86_64Linux = try! Triple("x86_64-unknown-linux-gnu")
public static let i686Linux = try! Triple("i686-unknown-linux")
public static let ppc64leLinux = try! Triple("powerpc64le-unknown-linux")
public static let s390xLinux = try! Triple("s390x-unknown-linux")
Expand Down
2 changes: 1 addition & 1 deletion Utilities/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ def main():
build_target = "x86_64-apple-macosx"
elif platform.system() == 'Linux':
if platform.machine() == 'x86_64':
build_target = "x86_64-unknown-linux"
build_target = "x86_64-unknown-linux-gnu"
elif platform.machine() == "i686":
build_target = "i686-unknown-linux"
elif platform.machine() == 's390x':
Expand Down