pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cblas: Fix static lib perms and missing relro in shared lib



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Thu May 3 20:51:34 2018 -0500
Changeset:	7fb206b665179ca608831ce9d0c64572a0977320

Modified Files:
	cblas/Makefile

Log Message:
cblas: Fix static lib perms and missing relro in shared lib

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7fb206b665179ca608831ce9d0c64572a0977320

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cblas/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/cblas/Makefile b/cblas/Makefile
index 4bae5b4097..d5c425794a 100644
--- a/cblas/Makefile
+++ b/cblas/Makefile
@@ -36,9 +36,10 @@ post-extract:
 
 post-build:
 	${MKDIR} ${WRKSRC}/shared-lib
+	${CHMOD} a-x ${WRKSRC}/lib/libcblas.a
 	cd ${WRKSRC}/shared-lib && \
 		${AR} x ../lib/libcblas.a && \
-		${FC} -shared -o ../lib/libcblas.so *.o
+		${FC} ${LDFLAGS} -shared -o ../lib/libcblas.so *.o
 
 do-install:
 	${INSTALL_LIB} ${WRKSRC}/lib/libcblas.* ${DESTDIR}${PREFIX}/lib


Home | Main Index | Thread Index | Old Index