Commit 00ff7c20 authored by Alastair McKinstry's avatar Alastair McKinstry

Add -g to compile line for debug info

parent 08da4607
......@@ -2,6 +2,7 @@ flexpart (9.02-19) unstable; urgency=medium
* Compile with -I/usr/include/$(MULTIARCH). Closes: #897518
* Standards-Version: 4.1.4
* Add -g to compile line for debug info
-- Alastair McKinstry <mckinstry@debian.org> Thu, 03 May 2018 13:20:12 +0100
......
......@@ -6,16 +6,16 @@
CPU:=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
FCFLAGS= -I/usr/include/$(DEB_HOST_MULTIARCH)
FCFLAGS:= -I/usr/include/$(DEB_HOST_MULTIARCH) -g
ifeq ($(CPU), amd64)
export FCFLAGS= $(FCFLAGS) -mcmodel=medium
export FCFLAGS:= $(FCFLAGS) -mcmodel=medium
endif
ifeq ($(CPU), arm64)
export FCFLAGS= $(FCFLAGS) -mcmodel=large -fno-pie
export FCFLAGS:= $(FCFLAGS) -mcmodel=large -fno-pie
endif
ifeq ($(CPU), ppc64el)
export FCFLAGS= $(FCFLAGS) -mcmodel=large
export FCFLAGS:= $(FCFLAGS) -mcmodel=large
endif
LC_ALL=C
......
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