Fix #11155 - missing WebPositive in x86_gcc2 repository.
* Instead of just checking the primary architecture, we need to check all architectures whether the webpositive build feature is enabled.
This commit is contained in:
@@ -20,10 +20,18 @@ local packages =
|
|||||||
haiku_$(secondaryArchs)_devel
|
haiku_$(secondaryArchs)_devel
|
||||||
;
|
;
|
||||||
|
|
||||||
if [ FIsBuildFeatureEnabled webpositive ] {
|
local webPositiveIsAvailable ;
|
||||||
if $(TARGET_PACKAGING_ARCH) != x86_gcc2 || $(secondaryArchs) {
|
local architectureObject ;
|
||||||
packages += webpositive ;
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
||||||
|
on $(architectureObject) {
|
||||||
|
if [ FIsBuildFeatureEnabled webpositive ] {
|
||||||
|
webPositiveIsAvailable = true ;
|
||||||
|
break ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if $(webPositiveIsAvailable) {
|
||||||
|
packages += webpositive ;
|
||||||
|
}
|
||||||
|
|
||||||
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
|
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user