tags 422662 + patch
thanks

Hi Timo

Thanks for your bugreport. It will be applied on next upload.

Regards,

// Ola

On Mon, May 07, 2007 at 06:46:50PM +0300, Timo Juhani Lindfors wrote:
> 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
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://opalsys.net/                 UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


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

Reply via email to