Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Sep 25, 2022
1 parent 6e9295b commit 3ad51c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conan/tools/gnu/autotoolstoolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ def environment(self):
# On Windows or if compiler is msvc, ensure to properly set vars like CC & CXX:
# - convert values from profile (if set) to compatible values
# - otherwise set to a good default if compiler is not a first class citizen in autotools
# msvc: see https://lists.gnu.org/archive/html/automake/2011-09/msg00002.html
# TODO: for msvc, allow users to prefix:
# - CC & CXX with path of compile script from automake
# - AR with with path of ar-lib script from automake
# Or provide these scripts in conan client?
# TODO: handle clang-cl
if hasattr(self._conanfile, "settings_build"):
os_build = self._conanfile.settings_build.get_safe("os")
Expand Down

0 comments on commit 3ad51c3

Please sign in to comment.