hooks: activate override-config by default.
This commit is contained in:
parent
4f0754c936
commit
1e340ceb79
1 changed files with 1 additions and 5 deletions
12
common/hooks/pre-configure/01-override-config.sh
Normal file
12
common/hooks/pre-configure/01-override-config.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
# This hook overrides config.sub and config.guess.
|
||||
|
||||
hook() {
|
||||
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