Commit f02800c9 authored by Andreas Metzler's avatar Andreas Metzler

set CXXFLAGS.

parent 02062fb0
......@@ -12,6 +12,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
CXXFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
......@@ -42,14 +43,15 @@ get-orig-source:
# ordering by making config.status depend on build-tree-mp/config.status.
config.status: configure build-tree-mp/config.status
dh_testdir
CFLAGS="$(CFLAGS)" ./configure $(CONFARGS) \
CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" ./configure $(CONFARGS) \
--disable-openmp \
--enable-image-cache=yes
build-tree-mp/config.status: configure
dh_testdir
if ! test -e build-tree-mp ; then mkdir build-tree-mp ; fi
cd build-tree-mp && CFLAGS="$(CFLAGS)" ../configure $(CONFARGS) \
cd build-tree-mp && CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
../configure $(CONFARGS) \
--enable-openmp \
--disable-image-cache
......
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