Skip to content

gcc-*: fix compiling in strict mode [skip ci]

Administrator requested to merge fix/1458-gcc-armhf-strict into master

Created by: ollieparanoid

Due to changes in abuild, our gcc-armhf etc. packages did not build when using strict mode (i.e. pmbootstrap build --strict gcc-armhf) anymore.

Changes

  • Set CBUILDDIR=/, so apk can read a valid package index from there
  • Directly set _cross_configure, so it does not use CBUILDDIR anymore
  • Set BOOTSTRAP="nobuildbase" to prevent apk from installing build-base-armhf etc. (these don't exist in pmOS)
  • Remove legacy code for lazy reproducible builds that wrapped package()
  • Fix download links by replacing ftp:// with http:// (also made a PR to fix this upstream: https://github.com/alpinelinux/aports/pull/4199)

How to test

$ pmbootstrap build gcc-armhf --force
$ pmbootstrap build hello-world --force --arch=armhf

Fixes #1458 (closed).

NOTE: Travis fails, because building the packages takes too long for Travis.


[x] Merge on GitHub (see https://postmarketos.org/merge)

Merge request reports

Loading