1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-03-13 04:44:53 +01:00
Commit graph

1 commit

Author SHA1 Message Date
xtex
b52ea9932a
xhpast: Skip -minline-all-stringops on non-x86 architectures
Summary:
-minline-all-stringops is a x86 only option, and will not work on other architectures.
Thus remove it for other architectures.

Test Plan:
Build on other architectures. I cherry-picked this to AOSC OS packaging and it has built successfully on amd64, arm64, riscv64, ppc64el, loongson3, loongarch64.

Or, manually run this script and see that - only on x86 - it prints the mentioned flag:

    php support/xhpast/bin/xhpast-generate-release-cppflags.php

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: aklapper, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25871
2025-03-02 08:57:22 +08:00