On Wednesday 22 November 2006 16:28, I wrote:
> So now I suppose I have a lot of CFLAGS to juggle to find out which one
> hurts gnupg so that I can report it.
It didn't take too long after all. I found that omitting, or
removing, -fmerge-all-constants from CFLAGS enabled gnupg to compile
with -ldap. I don't think gnupg uses C++ so I didn't play with CXXFLAGS.
# grep FLAGS /etc/make.conf
CFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks \
-freorder-blocks-and-partition -combine -funit-at-a-time \
-ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants"
CXXFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks \
-funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload
-fmerge-all-constants"
#cat /etc/portage/env/app-crypt/gnupg
CFLAGS=${CFLAGS//-fmerge-all-constants}
I haven't decided whether it's worth reporting a bug; perhaps it's enough
that people here know what's needed.
--
Rgds
Peter
--
[email protected] mailing list