[Bug 268985] math/lapack: not WITH_PIE safe
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 268985] math/lapack: not WITH_PIE safe"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Jan 2023 20:46:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268985 Thierry Thomas <thierry@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #4 from Thierry Thomas <thierry@FreeBSD.org> --- There are two different problems: 1) FFLAGS is not set when WITH_MPI is defined. The first patch fixes that. 2) Even when FFLAGS is set, it may be ignored by cmake if CMAKE_Fortran_FLAGS is not set. The second patch fixes that. Remark: I modified Mk/Uses/fortran.mk for the cmake case, but we could also modify Mk/Uses/cmake.mk for the Fortran case. This should fix other Fortran ports, but it might also reveal brokenness in some other ports. -- You are receiving this mail because: You are the assignee for the bug.