ports: Update toolchain triple and add post_configure
post_configure is called after default configure. This can be used for port specific customization when using default configure function
This commit is contained in:
parent
125f8b591d
commit
a0a9d49d81
|
@ -43,10 +43,16 @@ clean() {
|
|||
find . -mindepth 1 -maxdepth 1 -not -name 'patches' -not -name 'build.sh' -exec rm -rf {} +
|
||||
}
|
||||
|
||||
post_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
configure() {
|
||||
configure_options=("--host=$BANAN_ARCH-banan_os" '--prefix=/usr')
|
||||
configure_options=("--host=$BANAN_ARCH-pc-banan_os" '--prefix=/usr')
|
||||
configure_options+=("${CONFIGURE_OPTIONS[@]}")
|
||||
./configure "${configure_options[@]}" || exit 1
|
||||
|
||||
post_configure
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in New Issue