Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7810 from jacob-carlborg/issue-18335-D_ObjectiveC…
…-verbose Fix issue 18335 - The D_ObjectiveC version identifier is not printed in verbose mode merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
output_file="${RESULTS_DIR}/runnable/$(basename $0 .sh)" | ||
set -ueo pipefail | ||
|
||
if [ "${OS}" == "osx" ] && [ "${MODEL}" == "64" ]; then | ||
echo "void main(){}" | "${DMD}" -o- -v - | grep predefs | grep -q "D_ObjectiveC" | ||
fi | ||
|
||
echo Success > "${output_file}" |