tcsh-org / tcsh

This is a read-only mirror of the tcsh code repository.
https://www.tcsh.org/
Other
229 stars 42 forks source link

[PATCH] If crossbuild, pass *_FOR_BUILD flags to gethost #104

Closed josefs10 closed 1 month ago

josefs10 commented 2 months ago

Forwarding a debian patch to fix crossbuild failures. gethost appears to be using the build arch compiler with the target host arch compiler flags, causing failures with amd64 crossbuild for arm64. The patch passes *_FOR_BUILD flags to gethost if cross-compiling. @thep

gethost-crossbuild-flags.patch.txt

zoulasc commented 1 month ago

committed, thanks!