hooks: activate override-config by default.
This commit is contained in:
parent
4f0754c936
commit
1e340ceb79
|
@ -1,10 +1,6 @@
|
||||||
# This hook overrides config.sub and config.guess for aarch64 builds.
|
# This hook overrides config.sub and config.guess.
|
||||||
|
|
||||||
hook() {
|
hook() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
aarch64*|*-musl);;
|
|
||||||
*) return 0;;
|
|
||||||
esac
|
|
||||||
if [ -z "$build_style" -o "$build_style" = "gnu-configure" ]; then
|
if [ -z "$build_style" -o "$build_style" = "gnu-configure" ]; then
|
||||||
for f in $(find ${wrksrc} -type f -name "*config*.sub"); do
|
for f in $(find ${wrksrc} -type f -name "*config*.sub"); do
|
||||||
cp -f ${XBPS_CROSSPFDIR}/config.sub ${f}
|
cp -f ${XBPS_CROSSPFDIR}/config.sub ${f}
|
Loading…
Reference in New Issue
Block a user