Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: Makefile
===================================================================
--- Makefile	(.../3.4.4)	(revision 423)
+++ Makefile	(.../3.4.6)	(revision 424)
@@ -69,7 +69,7 @@
 # ======= __END_OF_REQUIRES__ =======
 
 
-version            = 3.4.4
+version            = 3.4.6
 tar_xz_archive     = $(SRC_PACKAGE_PATH)/packages/l/libffi/libffi-$(version).tar.xz
 SRC_ARCHIVE        = $(tar_xz_archive)
 SRC_DIR            = $(TARGET_BUILD_DIR)/libffi-$(version)
@@ -91,7 +91,7 @@
 # *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
 #
 LIBFFI_PKG_NAME                = libffi
-LIBFFI_PKG_VERSION             = 3.4.4
+LIBFFI_PKG_VERSION             = 3.4.6
 LIBFFI_PKG_ARCH                = $(PKGARCH)
 LIBFFI_PKG_DISTRO_NAME         = $(DISTRO_NAME)
 LIBFFI_PKG_DISTRO_VERSION      = $(DISTRO_VERSION)
@@ -134,6 +134,7 @@
 extra_configure_switches += --disable-dependency-tracking
 extra_configure_switches += --sysconfdir=/etc
 extra_configure_switches += --localstatedir=/var
+
 ifeq ($(__ENABLE_STATIC__),yes)
 extra_configure_switches += --enable-static=yes
 else
@@ -142,6 +143,11 @@
 extra_configure_switches += --enable-shared=yes
 
 
+CFLAGS  += -Wno-deprecated-declarations
+
+LDFLAGS += -Wl,-rpath,/lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+
+
 ####### Dependencies
 
 $(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
@@ -187,26 +193,26 @@
 	@cp -a $(build_dir)/doc/libffi.html/*.html \
 	       $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)/html
 	@( cd $(SRC_DIR) ; \
-	   if [ -r ChangeLog ]; then \
+	   if [ -r ChangeLog.old ]; then \
 	     DOCSDIR=`echo $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)` ; \
-	     cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
-	     touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+	     cat ChangeLog.old | head -n 1000 > $$DOCSDIR/ChangeLog.old ; \
+	     touch -r ChangeLog.old $$DOCSDIR/ChangeLog.old ; \
 	   fi \
 	 )
-	# ======= remove toolchain path from target libtool *.la files =======
+	# ======= Remove toolchain path from target libtool *.la files =======
 	@( cd $(LIBFFI_PKG)/usr/lib$(LIBSUFFIX) ; \
-	   sed -i "s,$(TARGET_DEST_DIR),,g" libffi.la  \
+	   sed -i "s,$(TARGET_DEST_DIR),,g" libffi.la ; \
 	 )
 	# ======= Install the same to $(TARGET_DEST_DIR) =======
 	$(call install-into-devenv, $(LIBFFI_PKG))
-	# ======= tune libtool *.la search path to the target destination for development =======
+	# ======= Tune libtool *.la search path to the target destination for development =======
 	@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
-	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.la ; \
-	   sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libffi.la \
+	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g"   libffi.la ; \
+	   sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libffi.la ; \
 	 )
-	# ======= tune pkg-config *.pc search path to the target destination for development =======
+	# ======= Tune pkg-config *.pc search path to the target destination for development =======
 	@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
-	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.pc \
+	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.pc ; \
 	 )
 	# ======= Strip binaries =======
 	@( cd $(LIBFFI_PKG) ; \