Package: vnc4
Version: 4.1.1+X4.3.0-21
Severity: minor

Steps to reproduce:
1) script -c "DEB_BUILD_OPTIONS='nostrip debug noopt' fakeroot apt-get --build 
source xvnc4viewer" build.log

Expected results:
1) xvnc4viewer*.deb builds with debugging symbols.

Actual results:
1) xvnc4viewer*.deb does not contain debugging symbols for C++ parts.

More info:
1) build.log shows that C++ parts are compiled with optimizations and
without debugging symbols:

c++   -I../../common -I.. -I../tx   -O2 -Wall  -c vncviewer.cxx^M

Proposed fix:
1) Add -g to CXXFLAGS by default and -O0 with noopt

--- debian/rules.orig   2007-05-07 18:45:43.000000000 +0300
+++ debian/rules        2007-05-07 18:31:13.000000000 +0300
@@ -19,9 +19,11 @@


 CFLAGS = -Wall -g
+CXXFLAGS = -Wall -g

 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
+       CXXFLAGS += -O0
 else
        CFLAGS += -O2
 endif


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to