Public bug reported:

Binary package hint: openoffice.org

    $ lsb_release -d =>  Ubuntu 8.04.1

    $ bzr get 
http://bazaar.launchpad.net/~openoffice-pkgs/openoffice/2.4.1-hardy
    $ cd openoffice.org-2.4.1
    $ DEB_BUILD_OPTIONS="debug nostrip noopt lang=en-US" logsave build.log 
dpkg-buildpackage -uc -us -rfakeroot

Looking at build.log I obtained the following build information
Started: Thu Jul 24 19:46:03 2008
Finished: Fri Jul 25 19:13:57 2008

I could also see that despite my DEB_BUILD_OPTIONS, openoffice sources
were being built with "-O2" and not "-O0 -g" as requested.

I grepped "-O2" in the expanded sources and found a few occurances of
.IF "$(PRODUCT)"!=""
CFLAGSOPT=-O2 -fno-strict-aliasing              # optimizing for products
.ELSE   # "$(PRODUCT)"!=""
CFLAGSOPT=                                                      # no optimizing 
for non products
.ENDIF  # "$(PRODUCT)"!=""

so it appears that this is by design, but I could be wrong.
Can you help?

** Affects: openoffice.org (Ubuntu)
     Importance: Undecided
         Status: New

-- 
openoffice.org source build ignores DEB_BUILD_OPTIONS for debugging
https://bugs.launchpad.net/bugs/252226
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to