Peter Humphrey <[EMAIL PROTECTED]> posted [EMAIL PROTECTED], excerpted below, on Sun, 24 Sep 2006 11:47:21 +0000:
> Is there a way to specify CFLAGS on the command line in such a way as to > negate (unset) those that are set in /etc/make.conf? I have -combine and > -ftree-pre in make.conf, and while emerge -e world is running it fails > some packages by not recognising those two. When that happens I want to > emerge --resume --skipfirst so as not to lose my place in the world > emerge, and in another terminal emerge the ones that have failed. Kevin answers your direct question. However, based on the other thread, I believe your main problem is that you are still using gcc 3.x. Those flags I use are for gcc >= 4.1, and *WILL* cause complications on gcc 3.x, because 3.x simply doesn't recognize them. As it doesn't recognize them, it throws warnings, which causes parts of configure to believe a test failed and that something (like the -fPIC flag that must be added for libraries on amd64, don't put it in cflags yourself tho) isn't supported, so they remove it, causing merges to fail. IOW, don't try to use my CFLAGS on gcc 3.x! It WILL cause problems! Either upgrade (and switch to using gcc-config or eselect compiler) to gcc 4.1.1, or go back to your regular CFLAGS on gcc 3.x and rebuild to ensure you have a clean gcc 3.x system without any contamination from gcc 4.x only CFLAGS. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- [email protected] mailing list
