pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/lapack
Module Name: pkgsrc
Committed By: tnn
Date: Wed Aug 2 22:19:22 UTC 2023
Modified Files:
pkgsrc/math/lapack: Makefile.common
Log Message:
lapack: add -fPIC to FFLAGS
Since we patch the build to install both static and dynamic shlibs,
we must ensure position independent code is used.
Fixes unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against
symbol `__stack_chk_guard'
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/math/lapack/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/lapack/Makefile.common
diff -u pkgsrc/math/lapack/Makefile.common:1.16 pkgsrc/math/lapack/Makefile.common:1.17
--- pkgsrc/math/lapack/Makefile.common:1.16 Tue Jan 24 18:36:30 2023
+++ pkgsrc/math/lapack/Makefile.common Wed Aug 2 22:19:22 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2023/01/24 18:36:30 wiz Exp $
+# $NetBSD: Makefile.common,v 1.17 2023/08/02 22:19:22 tnn Exp $
# used by math/blas/Makefile
# used by math/cblas/Makefile
# used by math/lapacke/Makefile
@@ -51,6 +51,8 @@ CMAKE_ARGS= -DBUILD_DEPRECATED=ON \
-DCMAKE_INSTALL_INCLUDEDIR=${PREFIX}/include/${HEADERDIR} \
${LAPACK_COMPONENT_CMAKE_ARGS}
+FFLAGS+= -fPIC
+
# The cmake files are not ready for prime time.
post-install:
rm -rf "${DESTDIR}${PREFIX}/lib/cmake"
Home |
Main Index |
Thread Index |
Old Index