Hi

Thanks a lot for that information.

Regards,

// Ola

On Tue, May 08, 2007 at 12:24:26AM +0300, Timo Juhani Lindfors wrote:
> Hi,
> 
> On Mon, May 07, 2007 at 06:36:14PM +0200, Ola Lundqvist wrote:
> > Thanks for your bugreport. It will be applied on next upload.
> 
> Actually, later I noticed that the patch alone does not help. You also
> need to pass CXXFLAGS to the two ./configure invocations:
> 
> (cd common; CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" ./configure \
> 
> Here's an updated patch:
> 
> --- debian/rules.orig   2007-05-07 21:23:36.000000000 +0000
> +++ debian/rules        2007-05-07 16:10:43.000000000 +0000
> @@ -19,9 +19,11 @@
>  
>  
>  CFLAGS = -Wall -g
> +CXXFLAGS = -Wall -g
>  
>  ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
>         CFLAGS += -O0
> +       CXXFLAGS += -O0
>  else
>         CFLAGS += -O2
>  endif
> @@ -31,7 +33,7 @@
>  configure-common-stamp:
>         dh_testdir
>         # Add here commands to configure the package.
> -       (cd common; CFLAGS="$(CFLAGS)" ./configure \
> +       (cd common; CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" ./configure \
>                 --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
>                 --prefix=/usr --mandir=\$${prefix}/share/man \
>                 --infodir=\$${prefix}/share/info \
> @@ -41,7 +43,7 @@
>  configure-unix-stamp:
>         dh_testdir
>         # Add here commands to configure the package.
> -       (cd unix; CFLAGS="$(CFLAGS)" ./configure \
> +       (cd unix; CFLAGS="$(CFLAGS)"  CXXFLAGS="$(CXXFLAGS)" ./configure \
>                 --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
>                 --prefix=/usr --mandir=\$${prefix}/share/man \
>                 --infodir=\$${prefix}/share/info \
> 
> -Timo
> 

-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  [EMAIL PROTECTED]                   Annebergsslingan 37        \
|  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
|  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
\  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