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

lblume at users.sourceforge.net lblume at users.sourceforge.net
Wed May 8 23:17:27 CEST 2013


Revision: 21032
          http://gar.svn.sourceforge.net/gar/?rev=21032&view=rev
Author:   lblume
Date:     2013-05-08 21:17:23 +0000 (Wed, 08 May 2013)
Log Message:
-----------
glib2/trunk: glib had a different idea of inline on x86 and sparc, new CFLAGS fixes that

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

Modified: csw/mgar/pkg/glib2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/glib2/trunk/Makefile	2013-05-08 12:45:48 UTC (rev 21031)
+++ csw/mgar/pkg/glib2/trunk/Makefile	2013-05-08 21:17:23 UTC (rev 21032)
@@ -286,7 +286,8 @@
 LD_OPTIONS =
 EXTRA_LINKER_FLAGS =
 
-EXTRA_CFLAGS = -features=extensions -xc99 -D_XPG6 #  -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 
+# -xO4 is necessary on sparc so that function inlining happens as expected
+EXTRA_CFLAGS = -xO4 -features=extensions -xc99 -D_XPG6 #  -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 
 
 EXTRA_LDFLAGS = -lsocket $(RUNPATH_LINKER_FLAGS)
 

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