2013-05-18 16:22:15 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
|
|
|
include /usr/share/cdbs/1/class/cmake.mk
|
|
|
|
|
2013-05-25 11:40:39 +00:00
|
|
|
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
|
|
|
|
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
|
|
|
|
|
2013-05-18 16:22:15 +00:00
|
|
|
DEB_CMAKE_EXTRA_FLAGS=-DCMAKE_BUILD_TYPE="RelWithDebInfo"
|
|
|
|
DEB_CMAKE_EXTRA_FLAGS+=-DCMAKE_SHARED_LINKER_FLAGS="$(LDFLAGS)" -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)"
|