hooks/pre-configure/01-aarch64-override-config.sh: new hook.
This commit is contained in:
parent
ae01380ba4
commit
8f1abb9242
2 changed files with 1437 additions and 0 deletions
1421
common/cross-profiles/config.guess
vendored
Executable file
1421
common/cross-profiles/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load diff
16
common/hooks/pre-configure/01-aarch64-override-config.sh
Normal file
16
common/hooks/pre-configure/01-aarch64-override-config.sh
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# This hook overrides config.sub and config.guess for aarch64 builds.
|
||||||
|
|
||||||
|
hook() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
aarch64*);;
|
||||||
|
*) return 0;;
|
||||||
|
esac
|
||||||
|
if [ -z "$build_style" -o "$build_style" = "gnu-configure" ]; then
|
||||||
|
for f in $(find ${wrksrc} -type f -name "*config*.sub"); do
|
||||||
|
cp -f ${XBPS_CROSSPFDIR}/config.sub ${f}
|
||||||
|
done
|
||||||
|
for f in $(find ${wrksrc} -type f -name "*config*.guess"); do
|
||||||
|
cp -f ${XBPS_CROSSPFDIR}/config.guess ${f}
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue