Commit d51bf433 authored by Alastair McKinstry's avatar Alastair McKinstry

build with canonical compiler name

parent 287d515c
flexpart (9.02-21) UNRELEASED; urgency=medium
flexpart (9.02-21) unstable; urgency=medium
* Standards-Version: 4.3.0
* Use canonical gfortran name in $fmoddir.
* Build against libeecodes (>= 2.10.0-3) for correct $fmoddir.
-- Alastair McKinstry <mckinstry@debian.org> Fri, 04 Jan 2019 09:13:14 +0000
-- Alastair McKinstry <mckinstry@debian.org> Tue, 08 Jan 2019 06:53:04 +0000
flexpart (9.02-20) unstable; urgency=medium
......
......@@ -7,7 +7,8 @@ CPU:=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
FC:=$(shell basename $(shell readlink -f /usr/bin/gfortran))
FCFLAGS:= -I/usr/lib/$(DEB_HOST_MULTIARCH)/fortran/$(FC)
FMODDIR:= /usr/lib/$(DEB_HOST_MULTIARCH)/fortran/$(FC)
FCFLAGS:= -I$(FMODDIR)
ifeq ($(CPU), amd64)
export FCFLAGS:= $(FCFLAGS) -mcmodel=medium
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment