gawk: fix build on Apple Silicon (#36246)
This commit is contained in:
parent
d5e30ac5f1
commit
75714d30f5
@ -53,4 +53,10 @@ def determine_version(cls, exe):
|
|||||||
return match.group(1) if match else None
|
return match.group(1) if match else None
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
return self.enable_or_disable("nls")
|
args = self.enable_or_disable("nls")
|
||||||
|
|
||||||
|
# https://github.com/Homebrew/homebrew-core/blob/5b93511fd6b87789871e30c9fe0790949bd6634c/Formula/gawk.rb#L38,L42
|
||||||
|
if self.spec.satisfies("platform=darwin target=aarch64:"):
|
||||||
|
args.append("--disable-pma")
|
||||||
|
|
||||||
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user