[eso-midas] 02/16: Set esoext -Z flag only on 64 bit architectures

Ole Streicher olebole at moszumanska.debian.org
Wed Mar 25 14:16:06 UTC 2015


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

olebole pushed a commit to branch debian
in repository eso-midas.

commit 44afa5cc949c8c43a767b0d292ad267894b51f78
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Mar 25 13:05:28 2015 +0100

    Set esoext -Z flag only on 64 bit architectures
---
 debian/patches/debian_setup.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/debian_setup.patch b/debian/patches/debian_setup.patch
index 12b34fb..a9c9742 100644
--- a/debian/patches/debian_setup.patch
+++ b/debian/patches/debian_setup.patch
@@ -28,7 +28,7 @@ Description: Debian specific setup
 +SH_OPT=-fPIC
 +SH_CMD=$(MIDASHOME)/$(MIDVERS)/local/make_shared
 +GUI_OPT=-DPATH_MAX=1024
-+E_OPT=-Z
++E_OPT=$(shell if test $(shell getconf LONG_BIT) = 64 ; then echo -Z; fi)
 +STRIP=echo
 +EDITFLAGS=-DVOID_SIGHANDLER -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DHAVE_GETPW_DECLS -DHAVE_DIRENT_H -DHAVE_STRING_H -DLinux -DHAVE_UNISTD_H -DHAVE_STDLIB_H
 +EDITLIBS=-lreadline

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git



More information about the debian-science-commits mailing list