Skip to content

Commit 211c955

Browse files
authored
Merge pull request #374 from GeorgeHahn/default-flag-checking
Avoid flag conflicts and allow default flag generation to be disabled
2 parents 2f34873 + 69940e0 commit 211c955

File tree

2 files changed

+279
-230
lines changed

2 files changed

+279
-230
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ number of different environment variables.
7777
certain `TARGET`s, it also is assumed to know about other flags (most
7878
common is `-fPIC`).
7979
* `AR` - the `ar` (archiver) executable to use to build the static library.
80+
* `CRATE_CC_NO_DEFAULTS` - the default compiler flags may cause conflicts in some cross compiling scenarios. Setting this variable will disable the generation of default compiler flags.
8081

8182
Each of these variables can also be supplied with certain prefixes and suffixes,
8283
in the following prioritized order:

0 commit comments

Comments
 (0)