Subject: Re: pkg/33188
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <segv@netctl.net>
List: pkgsrc-bugs
Date: 04/05/2006 12:05:03
The following reply was made to PR pkg/33188; it has been noted by GNATS.

From: segv@netctl.net
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33188
Date: Wed, 5 Apr 2006 12:54:52 +0100

 So the problem was having the following variables set in my mk.conf file before
 bootstrapping pkgsrc:
 
 COPTS=
 CFLAGS=
 CXXFLAGS=
 
 Temporary commenting them out during bootstrap fixes the issue, however I
 wonder if it's a bug in 'bmake' Makefiles?? Also note that I used CFLAGS=
 instead of CFLAGS+=, etc. I need to do this on Solaris when using Sun
 compilers, otherwise some unwanted C compiler flags are propagated to CXXFLAGS
 and are passed to C++ compiler (not relevant for applications writting in C
 only though)