Hi Lucas, * Lucas Nussbaum <[EMAIL PROTECTED]> [2008-04-14 14:43]: > On 14/04/08 at 13:00 +0200, Nico Golde wrote: > > Hi Lucas, > > * Lucas Nussbaum <[EMAIL PROTECTED]> [2008-04-14 12:06]: > > [...] > > > > rm -f debian/changelog.in debian/menu debian/conffiles debian/post* > > > > ./configure --prefix=/usr --sysconfdir=/etc > > > > checking for a BSD-compatible install... /usr/bin/install -c > > > > checking whether build environment is sane... yes > > > > checking for gawk... no > > > > checking for mawk... mawk > > > > checking whether make sets $(MAKE)... yes > > > > checking build type... RELEASE > > > > checking for style of include used by make... GNU > > > > checking for gcc... gcc > > > > checking for C compiler default output file name... > > > > configure: error: C compiler cannot create executables > > > > See `config.log' for more details. > > > > make: *** [build-stamp] Error 77 > > [...] > > This does not look like an openbox package problem to me. > > What do you think? > > The problem is very likely to be caused by dpkg 1.14.18 now > setting default values for CFLAGS and some other variables (see > dpkg-buildpackage(1)).
It looks like this is passing the CFLAGS defined in rules as CFLAGS="-Wall -g" to gcc as gcc "-Wall -g" -O2 and this fails due to the quotes. What is the proposed way of fixing this? I can't really see why the dpkg-buildpackage default values cause this. The manual says: "A set of environment variables for setting compiler and linker options are set to default values unless already set in the environment." So this should not apply as I explicitly set the CFLAGS in rules. Kind regards Nico -- Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF For security reasons, all text in this mail is double-rot13 encrypted.
pgp3XYd03RzpS.pgp
Description: PGP signature