Package: dpkg-dev Version: 1.15.0 Severity: normal Hi,
grub2 has the following in it's debian/rules: ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif export CFLAGS When I compile with `DEB_BUILD_OPTIONS=nostrip,noopt,debug dpkg-buildpackage', it works correctly, i.e. compiler flags are `-g -O0' But when I compile it with `DEB_BUILD_OPTIONS=nostrip,noopt,debug dpkg-buildpackage -j2', then compiler flags are `-g -O2'. -- System Information: Debian Release: squeeze/sid APT prefers experimental APT policy: (500, 'experimental'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dpkg-dev depends on: ii binutils 2.19.51.20090315-1 The GNU assembler, linker and bina ii bzip2 1.0.5-1 high-quality block-sorting file co ii dpkg 1.15.0 Debian package management system ii libtimedate-perl 1.1600-9 Time and date functions for Perl ii lzma 4.43-14 Compression method of 7z format in ii make 3.81-5 The GNU version of the "make" util ii patch 2.5.9-5 Apply a diff file to an original ii perl [perl5] 5.10.0-19 Larry Wall's Practical Extraction ii perl-modules 5.10.0-19 Core Perl modules Versions of packages dpkg-dev recommends: ii build-essential 11.4 Informational list of build-essent ii gcc [c-compiler] 4:4.3.3-2 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.2-25 The GNU C compiler ii gcc-4.3 [c-compiler] 4.3.3-5 The GNU C compiler Versions of packages dpkg-dev suggests: ii debian-keyring 2009.04.04 GnuPG (and obsolete PGP) keys of D ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org