[Pkg-electronics-commits] [pcb] 01/09: Add -ffloat-store to CFLAGS for i386 builds

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at users.sourceforge.net
Fri Sep 29 07:45:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

aelmahmoudy-guest pushed a commit to branch master
in repository pcb.

commit e3b0416c5e3e4f375a3cec0b7b6e537181dfd525
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date:   Fri Sep 29 08:51:32 2017 +0200

    Add -ffloat-store to CFLAGS for i386 builds
    
    Closes: #876641
    Thanks: Adrian Bunk <bunk at debian.org>
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index e7df4c7..095156b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,11 @@
 # Copyright 1997-99 by Hartmut Koptein <koptein at debian.org>
 
 package = pcb
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifneq (,$(filter $(DEB_HOST_ARCH), i386))
+  export DEB_CFLAGS_MAINT_APPEND=-ffloat-store
+endif
 
 CONFIGURE_OPTS=--disable-rpath --enable-dbus --disable-update-desktop-database --disable-update-mime-database --enable-dependency-tracking --enable-coord64 LDFLAGS="$(LDFLAGS) -Wl,--as-needed"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/pcb.git



More information about the Pkg-electronics-commits mailing list