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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Nov 1 14:40:03 CET 2010


Revision: 11463
          http://gar.svn.sourceforge.net/gar/?rev=11463&view=rev
Author:   dmichelsen
Date:     2010-11-01 13:40:03 +0000 (Mon, 01 Nov 2010)

Log Message:
-----------
taglib_gcc: Forcefully rip out -O2

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

Modified: csw/mgar/pkg/taglib_gcc/trunk/Makefile
===================================================================
--- csw/mgar/pkg/taglib_gcc/trunk/Makefile	2010-11-01 10:37:48 UTC (rev 11462)
+++ csw/mgar/pkg/taglib_gcc/trunk/Makefile	2010-11-01 13:40:03 UTC (rev 11463)
@@ -29,9 +29,25 @@
 
 EXTRA_LD_FLAGS = -lc -lm
 
+# Do not use -O2, see below.
+OPT_FLAGS_GCC = -pipe
+
 prefix = $(BUILD_PREFIX)/kde-gcc
 CONFIGURE_ARGS = $(DIRPATHS)
 
 TEST_TARGET = check
 
+# This is a legacy lib, don't care too much about the naming for now.
+CHECKPKG_OVERRIDES_CSWtaglibgcc += shared-lib-package-contains-so-symlink|file=/opt/csw/kde-gcc/lib/libtag.so
+CHECKPKG_OVERRIDES_CSWtaglibgcc += shared-lib-package-contains-so-symlink|file=/opt/csw/kde-gcc/lib/libtag_c.so
+CHECKPKG_OVERRIDES_CSWtaglibgcc += non-uniform-lib-versions-in-package|sonames=['libtag.so.1',|'libtag_c.so.0']
+CHECKPKG_OVERRIDES_CSWtaglibgcc += shared-lib-package-contains-so-symlink|file=/opt/csw/kde-gcc/lib/libtag.so
+CHECKPKG_OVERRIDES_CSWtaglibgcc += shared-lib-package-contains-so-symlink|file=/opt/csw/kde-gcc/lib/libtag_c.so
+
 include gar/category.mk
+
+# Do not use any optimization or __sync_fetch_and_add_4 will be used which
+# is undefined. -O2 is hardwired at many places, so dynamically rip it out.
+pre-configure-modulated:
+	perl -i -npe 's/-O2//' $(WORKSRC)/configure
+	@$(MAKECOOKIE)


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