[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: emulators/qemu fails to build on NetBSD 4.0 (with workaround)
On Sun 16 Mar 2008 at 02:41:06 +0100, Rhialto wrote:
> But why then does it use gcc-4-specific options? That's what my build
I see in its (hand-written) configure script:
# Check for stack protector
cat > $TMPC <<EOF
extern int foo;
if "$cc" -o $TMPE $TMPC -fno-stack-protector 2> /dev/null ; then
Due to the lack of a "-c" option to the compiler it will try to link,
and fail. The script interprets this as stack_protector_present="yes",
while in fact the option is not understood at all. Later on, it will try
to use the option.
Are the then-part and else-part indeed swapped from what they should
be, or is it too late in the night so that I can't think any more?
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.
Main Index |
Thread Index |