Skip to content

Commit

Permalink
[gcc] Move from self.info.settings to self.settings in validate m…
Browse files Browse the repository at this point in the history
…ethod
  • Loading branch information
samuel-emrys committed Jan 4, 2023
1 parent 1c22955 commit d59afa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/gcc/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ def validate_build(self):
raise ConanInvalidConfiguration("GCC can't be built with MSVC")

def validate(self):
if self.info.settings.os == "Windows":
if self.settings.os == "Windows":
raise ConanInvalidConfiguration(
"Windows builds aren't currently supported. Contributions to support this are welcome."
)
if self.info.settings.os == "Macos":
if self.settings.os == "Macos":
# FIXME: This recipe should largely support Macos, however the following
# errors are present when building using the c3i CI:
# clang: error: unsupported option '-print-multi-os-directory'
Expand Down

0 comments on commit d59afa6

Please sign in to comment.