pkgsrc-WIP-changes archive

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

antlr: On Linux libantlr.a needs to built with -fPIC



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Tue Aug 6 13:53:53 2024 +0530
Changeset:	9b49c56b18fe9f0cb025f18c99d43ea20cd8ac3f

Modified Files:
	antlr/Makefile

Log Message:
antlr: On Linux libantlr.a needs to built with -fPIC

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

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

diffstat:
 antlr/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/antlr/Makefile b/antlr/Makefile
index cb8d4645bb..e5934fb953 100644
--- a/antlr/Makefile
+++ b/antlr/Makefile
@@ -64,6 +64,8 @@ CONFIGURE_ENV=	JAVAC="${JAVAC}" JAR="${JAR}" JAVA="${JAVA}" CLASSPATH="${PORT_CL
 
 CONFIGURE_ARGS=	--disable-csharp --prefix=${PREFIX}
 
+CFLAGS.Linux+=	-fPIC
+
 PORTVERSION=	2.7.7
 DOCSDIR=	${PREFIX}/share/doc/antlr
 PORTDOCS=	ANTLRException.gif closure.gif cpp-runtime.html \


Home | Main Index | Thread Index | Old Index