pkgsrc-WIP-changes archive

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

usrscpt/Makefile: added -fPIC flag



Module Name:	pkgsrc-wip
Committed By:	AcidBear <jake.slazenger%yandex.com@localhost>
Pushed By:	jakeSlaz
Date:		Sat Feb 27 23:37:19 2021 +0300
Changeset:	4f91ec2f3afc2dedc46929d273c3d8f7d9273f19

Modified Files:
	usrsctp/Makefile

Log Message:
usrscpt/Makefile: added -fPIC flag

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

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

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

diffs:
diff --git a/usrsctp/Makefile b/usrsctp/Makefile
index cbf4cfe040..b9ac4bcc98 100644
--- a/usrsctp/Makefile
+++ b/usrsctp/Makefile
@@ -19,5 +19,7 @@ USE_TOOLS+=	pkg-config
 
 PKGCONFIG_OVERRIDE+=	usrsctp.pc.in
 
+CMAKE_ARGS+= -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS} -fPIC"
+
 #.include "../../devel/meson/build.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index