[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[7033] ipcop/trunk/lfs/pango
From:       gespinasse () users ! sourceforge ! net
Date:       2013-05-17 6:48:31
Message-ID: E1UdESt-0007dv-DR () sfp-svn-2 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 7033
          http://ipcop.svn.sourceforge.net/ipcop/?rev=7033&view=rev
Author:   gespinasse
Date:     2013-05-17 06:48:30 +0000 (Fri, 17 May 2013)
Log Message:
-----------
Add  -fno-strict-aliasing to fix remaining strict aliasing warnings
Hide 'libtool: install: warning: relinking' that should not be a warning.

Modified Paths:
--------------
    ipcop/trunk/lfs/pango

Modified: ipcop/trunk/lfs/pango
===================================================================
--- ipcop/trunk/lfs/pango	2013-05-17 06:44:32 UTC (rev 7032)
+++ ipcop/trunk/lfs/pango	2013-05-17 06:48:30 UTC (rev 7033)
@@ -83,13 +83,9 @@
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
 
-	cd $(DIR_APP) && ./configure	--prefix=/usr \
-					--sysconfdir=/etc \
-					--disable-static
+	# Workaround for strict-aliasing warnings
+	cd $(DIR_APP) && CFLAGS="$$CFLAGS -fno-strict-aliasing" ./configure --prefix=/usr \
--disable-static --sysconfdir=/etc  
-	# Workaround for half of strict-aliasing warnings
-	# No inspiration yet for the remaining except adding for the entire package?
-	cd $(DIR_APP) && sed -i 's/PangoFT2_1_0_gir_CFLAGS.*/& -fno-strict-aliasing/' \
pango/Makefile  # Fix GLIB_LIBS missing in tests after binutils-2.22 upgrade
 	# Inspired by upstream change but a patch on Makefile.am would be a nightmare due \
to automake-1.11 missing issue  cd $(DIR_APP) && sed -i '/test.*\.\.\/pango/s/LDADD = \
/LDADD = $$(GLIB_LIBS) /' tests/Makefile @@ -97,7 +93,8 @@
 ifeq "$(RUNNING_TEST)" "yes"
 	-cd $(DIR_APP) && make -j 1 -k check &> $(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log
 endif
-	cd $(DIR_APP) && make install
+	# Hide what should not be a warning
+	cd $(DIR_APP) && make install 2>&1 | grep -v 'libtool: install: warning. relinking'
 	
 	# be sure the modules are in the same order everytime, so md5 does not vary
 	sort -o /etc/pango/pango.modules /etc/pango/pango.modules

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


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic