[csw-devel] SF.net SVN: gar:[18074] csw/mgar/pkg/freerdp/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue May 22 15:49:11 CEST 2012


Revision: 18074
          http://gar.svn.sourceforge.net/gar/?rev=18074&view=rev
Author:   dmichelsen
Date:     2012-05-22 13:49:11 +0000 (Tue, 22 May 2012)
Log Message:
-----------
freerdp/trunk: Add thread flags as recommended upstream

Modified Paths:
--------------
    csw/mgar/pkg/freerdp/trunk/Makefile

Modified: csw/mgar/pkg/freerdp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/freerdp/trunk/Makefile	2012-05-22 13:45:55 UTC (rev 18073)
+++ csw/mgar/pkg/freerdp/trunk/Makefile	2012-05-22 13:49:11 UTC (rev 18074)
@@ -1,6 +1,8 @@
 # TODO (release-critical prefixed with !, non release-critical with *)
 #
 # ! cmake kills RPATH in linker flags somehow needs to be fixed.
+# ! Error: recv: Resource temporarily unavailable
+#     as reported in https://github.com/FreeRDP/FreeRDP/issues/571
 #
 NAME = FreeRDP
 VERSION = 1.0.1
@@ -25,11 +27,18 @@
 # PKGFILES is catchall
 RUNTIME_DEP_PKGS_CSWfreerdp += CSWlibgcc-s1
 
+# Add flag as recommended in https://github.com/FreeRDP/FreeRDP/issues/571
+#EXTRA_CFLAGS += -mt
+EXTRA_CFLAGS += -threads
+
+#EXTRA_CPPFLAGS = -features=extensions -D__FUNCTION__=__func__
+
 CONFIGURE_ARGS = $(DIRPATHS)
 
 # http://forge.mysql.com/wiki/Autotools_to_CMake_Transition_Guide
 CMAKE_ARGS += -DCMAKE_INSTALL_PREFIX=$(prefix)
-CMAKE_ARGS += -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)"
+CMAKE_ARGS += -DCMAKE_C_FLAGS="$(CPPFLAGS) $(CFLAGS)"
+# CMAKE_ARGS += -DCMAKE_CXX_FLAGS="$(CXXFLAGS)"
 CMAKE_ARGS += -DCMAKE_INCLUDE_PATH="$(includedir)"
 CMAKE_ARGS += -DCMAKE_LIBRARY_PATH="$(libdir)"
 CMAKE_ARGS += -DWITH_SSE2=OFF 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list