-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
-target
instead of -arch
in compiling commands in Apple
crosstool This allows using this crosstool file for cross-compiling from non-Apple host platforms. On macOS, `-arch <arch>` and `-m<platform>-version-min=<version_min>` will be expanded to `-triple <arch>-apple-<platform><version_min>` in the frontend invocation, but on a Linux host, without `-target`, the expanded triple flags would be `-triple <arch>-pc-linux-gnu`.
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters