[debian-mysql] [PATCH 6/8] Build with debug symbols

Robie Basak robie.basak at canonical.com
Mon Feb 10 13:50:19 UTC 2014


Build without stripping debug symbols. dh_strip takes care of this
later, and this permits tooling to build debug symbol packages.

Bug-Ubuntu: https://launchpad.net/bugs/1014872
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 74cf629..8f1e58b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,6 +98,7 @@ configure-stamp configure-pic-stamp:
 		$(FORCE_FPIC) \
 		-DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
 	       	-DMYSQL_USER=mysql \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
 		-DWITH_LIBWRAP=ON \
 		-DWITH_READLINE=OFF \
 		-DWITH_LIBEDIT=OFF \
-- 
1.8.3.2




More information about the pkg-mysql-maint mailing list