CVSROOT:        /cvs
Module name:    ports
Changes by:     c...@cvs.openbsd.org    2021/08/24 14:32:52

Modified files:
        archivers/innoextract: Makefile 
Removed files:
        archivers/innoextract/patches: patch-cmake_BuildType_cmake 

Log message:
innoextract: unbreak on clang+ld.bfd archs

Innoextract used to fail to build on these archs due to undefined references at
linking time, because of the `--as-needed' linker flag. There was a powerpc
specific fix, but since then mips64 can also build innoextract.

Extend the fix by disabling optimizations on all clang+ld.bfd archs. This only
impacts mips64 now that macppc moved to ld.lld, but may be useful to sparc64
in the future if it moves to clang.

Build tested on mips64 by Yifei Zhan < openbsd () zhan ! science >, and macppc
by me (with ld.lld). There is no impact on other archs.

No objection from thfr@ (maintainer)

Reply via email to