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


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

Reply via email to