Hi,
it seems the below changes are enough to get the debug build. WDYT about making
them the default, at least for some time?
--- a/specs/include/foss-flags.inc Sat Aug 08 01:33:44 2009 +0200
+++ b/specs/include/foss-flags.inc Tue Aug 18 16:54:23 2009 +0200
@@ -16,10 +16,10 @@
# C++-specific flags, specifying C++-98
# Deprecated options, given default values
-%define _STRIP_IF_NOT_DEBUG -s
-%define _C_DEBUG_OR_STRIP -s
-%define _CXX_DEBUG_OR_STRIP -s
-%define _LD_DEBUG_OR_STRIP -s
+%define _STRIP_IF_NOT_DEBUG
+%define _C_DEBUG_OR_STRIP
+%define _CXX_DEBUG_OR_STRIP
+%define _LD_DEBUG_OR_STRIP
diff -r 35a04ef8f379 specs/include/kde-common.spec
--- a/specs/include/kde-common.spec Sat Aug 08 01:33:44 2009 +0200
+++ b/specs/include/kde-common.spec Tue Aug 18 16:54:23 2009 +0200
@@ -61,6 +61,7 @@
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_REQUIRED_LIBRARIES="-L%{_foss_lib} -R%{_foss_lib} -lstdcxx
-lnsl -lsocket -lc" \
-DUPDATE_TYPE=svn \
+ -DCMAKE_BUILD_TYPE=None CMAKE_CXX_FLAGS="-O0 -g" \
$CMAKE_ARGS \
..
--
This message posted from opensolaris.org