-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Runner] Improve compile-only flags checks and fix
objc
wrapper
The `objc` wrapper is currently roughly equivalent to `clang -x objective-c`, the problem is that `-x <LANG>` can't be used when linking, otherwise the compiler driver will assume that the input files are plain text source code files. As a simple rule, we assume that we are compiling (as opposed to linking) when no argument is an object file (ending with `.o` extension) and make the `objc` wrapper pass the `-x objective-c` flag only when compiling (and not linking), instead of doing so unconditionally.
- Loading branch information
Showing
3 changed files
with
34 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "BinaryBuilderBase" | ||
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e" | ||
authors = ["Elliot Saba <[email protected]>"] | ||
version = "0.6.5" | ||
version = "0.6.6" | ||
|
||
[deps] | ||
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193" | ||
|
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
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