rev 8800 - branches/kde4/cdbs

Armin Berres trigger-guest at alioth.debian.org
Sun Jan 6 21:47:07 UTC 2008


Author: trigger-guest
Date: 2008-01-06 21:47:07 +0000 (Sun, 06 Jan 2008)
New Revision: 8800

Modified:
   branches/kde4/cdbs/kde.mk
Log:
set 'debian' as default build options. this will disable needless compiler flags and se -DNDEBUG. remove useless check fpr DEB_BUILD_OPTIONS=noopt. cdbs does this for us

Modified: branches/kde4/cdbs/kde.mk
===================================================================
--- branches/kde4/cdbs/kde.mk	2008-01-06 07:48:09 UTC (rev 8799)
+++ branches/kde4/cdbs/kde.mk	2008-01-06 21:47:07 UTC (rev 8800)
@@ -6,9 +6,9 @@
 
 DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
 DEB_CMAKE_EXTRA_FLAGS += \
-			$(DEB_CMAKE_DEBUG_FLAGS) \
+			-DCMAKE_BUILD_TYPE=debian \
 			$(KDE4-ENABLE-FINAL) \
-			-DKDE4_BUILD_TESTS=true \
+			-DKDE4_BUILD_TESTS=false \
 			-DKDE_DISTRIBUTION_TEXT="Debian packages" \
 			-DCMAKE_SKIP_RPATH=true \
 			-DKDE4_USE_ALWAYS_FULL_RPATH=false \
@@ -38,14 +38,6 @@
     endif
 endif
 
-ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	#no optimizations, full debug
-       DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=debugfull
-else
-	#This is around -O2 -g
-       DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=relwithdebinfo
-endif
-
 common-build-arch:: debian/stamp-man-pages
 debian/stamp-man-pages:
 	if ! test -d debian/man/out; then mkdir -p debian/man/out; fi




More information about the pkg-kde-commits mailing list