On Tue, Aug 14, 2018 at 09:12:08AM +0100, Stuart Henderson wrote:
> ports-gcc is available on more arches than ports-clang so is useful to have
> in the list if it works.
It builds fine as I did use ports-gcc before.

> There are implications with dependencies, mixing things compiled with
> different c++ compilers is unlikely to work well. So generally you want
> to have a library compiled by the same compiler as programs using that
> library.
That makes sense.

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/freerdp/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile    8 Jun 2018 20:32:16 -0000       1.32
+++ Makefile    14 Aug 2018 08:24:42 -0000
@@ -23,6 +23,9 @@ PERMIT_PACKAGE_CDROM =        Yes
 WANTLIB += X11 Xcursor Xext Xfixes Xi Xinerama Xrender Xv avcodec
 WANTLIB += avutil c crypto cups execinfo m pthread ssl xkbfile
 
+# thread-local storage
+COMPILER =             base-clang ports-gcc ports-clang
+
 MODULES =              devel/cmake
 
 CFLAGS +=              -I${X11BASE}/include -I${LOCALBASE}/include

Reply via email to