Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mesonbuild/compilers/mixins/gnu.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,8 @@ def has_arguments(self, args: T.List[str], code: str,
result = False
if self.language in {'c', 'objc'} and 'is valid for C++/ObjC++' in p.stderr:
result = False
if 'not supported for this target' in p.stderr:
result = False
return result, p.cached

def get_has_func_attribute_extra_args(self, name: str) -> T.List[str]:
Expand Down
Loading