[Pkg-electronics-commits] [SCM] Packaging for GTKWave branch, master, updated. debian/3.3.17-2-6-g93f8b5d

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Mon Dec 27 20:55:26 UTC 2010


The following commit has been merged in the master branch:
commit 80914a870b8374f76b8b5401b8a85fa6f71b1949
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date:   Mon Dec 27 15:59:52 2010 +0200

    Add --enable-struct-pack configure option only for archs that support
    misaligned loads and stores.
    
    List of archs is from: http://wiki.debian.org/ArchitectureSpecificsMemo

diff --git a/debian/rules b/debian/rules
index 91524f2..884a566 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,16 @@
 
 DESTDIR=$(CURDIR)/debian/gtkwave
 
+STRUCT_PACK=--enable-struct-pack
+ifneq (,$(filter $(DEB_HOST_ARCH), alpha arm armel hppa ia64 mips mipsel sparc))
+	STRUCT_PACK=
+endif
+
 %:
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-judy CPPFLAGS="$(CPPFLAGS) -D_LARGEFILE64_SOURCE" LDFLAGS="$(LDFLAGS) -Wl,--as-needed"
+	dh_auto_configure -- --enable-judy $(STRUCT_PACK) CPPFLAGS="$(CPPFLAGS) -D_LARGEFILE64_SOURCE" LDFLAGS="$(LDFLAGS) -Wl,--as-needed"
 
 override_dh_auto_make:
 	$(MAKE) 

-- 
Packaging for GTKWave



More information about the Pkg-electronics-commits mailing list