Skip to content
  • info@mobile-stream.com's avatar
    main/nodejs: fix build on mips{el} (-latomic), disable on mips64* · 21966630
    info@mobile-stream.com authored
    1) Add the usual -latomic for pre-R6 MIPS32.
    
    2) Alpine mips64* definitions assume MIPS III but nodejs wants MIPS32 at least and can
    actually generate instructions missing in MIPS III, e.g. movn/movz. There is also some
    support for Loongson 2 (which is a MIPS III CPU) however it apparently always targets
    hard-float O32 ABI so be safe and disable build on mips64* completely.
    
    Keep pkgrel intact since no previously built mips* apks exist and changes are strictly
    mips-specific.
    21966630