[neon/qt/qt5webkit/Neon/release] debian: drop -g and -g1 and use Relase build type since optimizations also let the compiler rejigger code more aggressively

Jonathan Riddell null at kde.org
Tue Nov 10 15:17:17 GMT 2020


Git commit 4060fba3e7d1457407cde47b31a462d0fe1e7326 by Jonathan Riddell.
Committed on 10/11/2020 at 15:16.
Pushed by jriddell into branch 'Neon/release'.

drop -g and -g1 and use Relase build type since optimizations also let the compiler rejigger code more aggressively

M  +4    -2    debian/rules

https://invent.kde.org/neon/qt/qt5webkit/commit/4060fba3e7d1457407cde47b31a462d0fe1e7326

diff --git a/debian/rules b/debian/rules
index df1b87e..582bc76 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,8 +13,8 @@ export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG
 
 # The debug packages produced by webkit are huge and cause problems in
 # most buildds, so use -g1 instead of -g
-export DEB_CXXFLAGS_MAINT_STRIP = -g
-export DEB_CXXFLAGS_MAINT_APPEND = -g1
+#export DEB_CXXFLAGS_MAINT_STRIP = -g
+#export DEB_CXXFLAGS_MAINT_APPEND = -g1
 
 # See https://github.com/qtwebkit/qtwebkit/issues/626
 ifneq (,$(filter $(DEB_HOST_ARCH_CPU),mips mipsel))
@@ -45,6 +45,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH_CPU),ppc64el s390x))
 	EXTRA_CMAKE_ARGUMENTS += -DUSE_SYSTEM_MALLOC=ON
 endif
 
+EXTRA_CMAKE_ARGUMENTS += -DCMAKE_BUILD_TYPE=Release
+
 %:
 	dh $@ --buildsystem=cmake+ninja --with pkgkde_symbolshelper
 


More information about the Neon-commits mailing list