Revision: 6924 http://ipcop.svn.sourceforge.net/ipcop/?rev=6924&view=rev Author: gespinasse Date: 2013-02-14 22:06:57 +0000 (Thu, 14 Feb 2013) Log Message: ----------- Upgrade strace from 4.5.20 to 4.7 Use xz tarball Add -fno-strict-aliasing on compilation to prevent warnings On toolchain as CFLAGS is by default defined empty, define CFLAGS on configure command line.
Modified Paths: -------------- ipcop/trunk/lfs/strace Modified: ipcop/trunk/lfs/strace =================================================================== --- ipcop/trunk/lfs/strace 2013-02-11 07:32:12 UTC (rev 6923) +++ ipcop/trunk/lfs/strace 2013-02-14 22:06:57 UTC (rev 6924) @@ -33,16 +33,18 @@ include Config PKG_NAME = strace -VER = 4.5.20 +VER = 4.7 HOST_ARCH = all OTHER_SRC = yes THISAPP = $(PKG_NAME)-$(VER) -DL_FILE = $(THISAPP).tar.bz2 +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_SFNET)/$(PKG_NAME) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) +CFLAGS += -fno-strict-aliasing + ############################################################################### # Top-level Rules ############################################################################### @@ -51,7 +53,7 @@ $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 64dfe10d9db0c1e34030891695ffca4b +$(DL_FILE)_MD5 = 6054c3880a00c6703f83b57f15e04642 install : $(TARGET) @@ -81,11 +83,11 @@ $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)_sparc-syscalls.patch + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE) ifeq "$(STAGE)" "toolchain" - cd $(DIR_APP) && ./configure --prefix=/$(TOOLS_DIR) + # Add no-strict-aliasing to default CFLAGS + cd $(DIR_APP) && CFLAGS="-Wall -Wwrite-strings -fno-strict-aliasing -O2" ./configure --prefix=/$(TOOLS_DIR) else cd $(DIR_APP) && ./configure --prefix=/usr endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn