Hardcoded "-nocache" in Buildsystem/qmake.pm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debhelper (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Problem with build qtcreator 2.8.0 with -nocache specified. Because qtcreator is "unfair" recursive qmake project.
In my PPA i rewrote debian/rules like:
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_
# Upstream changelog
upstream_changes := $(wildcard dist/changes-*)
%:
dh $@ --parallel --list-missing --dbg-package=
override_
mkdir -p builddir
cd builddir && qmake -makefile "IDE_LIBRARY_
override_
ifneq (,$(filter qtcreator-doc, $(shell dh_listpackages)))
endif
override_
override_
override_
# qtcreator doesn't provide any public libraries
override_
dh_builddeb -- -Zxz
Status changed to 'Confirmed' because the bug affects multiple users.