svn commit: trunk/buildroot/toolchain/binutils
Author: egtvedt
Date: 2008-12-09 02:09:15 -0800 (Tue, 09 Dec 2008) New Revision: 24343
Log:
binutils: fix typo for detecting if BINUTILS_NO_MPFR is not set
Make the ifndef check the actual variable, typo bug.
Modified:
trunk/buildroot/toolchain/binutils/binutils.mk
Changeset:
Modified: trunk/buildroot/toolchain/binutils/binutils.mk
===================================================================
buildroot/toolchain/binutils/binutils.mk +1 -1
@@ -54,7 +54,7 @@ BINUTILS_NO_MPFR:=y endif -ifndef BINUTILS_NO_MPFR +ifndef $(BINUTILS_NO_MPFR) BINUTILS_HOST_PREREQ:=$(TOOL_BUILD_DIR)/gmp/lib/libgmp$(HOST_SHREXT) \ $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr$(HOST_SHREXT)
Quoted 8 lines · egtvedt at uclibc.org
Author: egtvedt
Date: 2008-12-09 02:09:15 -0800 (Tue, 09 Dec 2008) New Revision: 24343Log:
binutils: fix typo for detecting ifBINUTILS_NO_MPFRis not setMake the ifndef check the actual variable, typo bug.
What are you trying to do or "fix"?
Quoted 21 lines
Modified:
trunk/buildroot/toolchain/binutils/binutils.mkChangeset:
Modified:trunk/buildroot/toolchain/binutils/binutils.mk
===================================================================buildroot/toolchain/binutils/binutils.mk +0
-0@@ -54,7 +54,7 @@BINUTILS_NO_MPFR:=y
endifbuildroot/toolchain/binutils/binutils.mk +1
-1-ifndef BINUTILS_NO_MPFR +ifndef $(BINUTILS_NO_MPFR)BINUTILS_HOST_PREREQ:=$(TOOL_BUILD_DIR)/gmp/lib/libgmp$(HOST_SHREXT) \ $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr$(HOST_SHREXT)
Quoted 5 lines · On Tue, 9 Dec 2008 11:23:32 +0100 Bernhard Reutner-Fischer…
Quoted 4 lines · egtvedt at uclibc.org
Author: egtvedt
Date: 2008-12-09 02:09:15 -0800 (Tue, 09 Dec 2008) New Revision: 24343
Quoted 7 lines
Quoted 4 lines
Log:
binutils: fix typo for detecting ifBINUTILS_NO_MPFRis not setMake the ifndef check the actual variable, typo bug.
What are you trying to do or "fix"?
So the ifndef is not supposed to look at the actual variable? Just some text which happens to be exactly the same as a variable which might be set above?
Signature · 2 lines
Best regards, Hans-Christian Egtvedt
Quoted 11 lines · Hans-Christian Egtvedt
Quoted 8 lines · On Tue, 9 Dec 2008 11:23:32 +0100 Bernhard Reutner-Fischer…
Quoted 7 lines · egtvedt at uclibc.org
Author: egtvedt
Date: 2008-12-09 02:09:15 -0800 (Tue, 09 Dec 2008) New Revision: 24343Log:
binutils: fix typo for detecting ifBINUTILS_NO_MPFRis not set
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Make the ifndef check the actual variable, typo bug.
What are you trying to do or "fix"?
So the ifndef is not supposed to look at the actual variable? Just some text which happens to be exactly the same as a variable which might be set above?
I suspect you're confusing "ifdef" with "ifeq", aren't you. Please look carefully at
$ grep NO_MPFR toolchain/binutils/binutils.mk
see?
Quoted 18 lines · On Tue, 9 Dec 2008 11:33:24 +0100 Bernhard Reutner-Fischer…
Quoted 16 lines · Hans-Christian Egtvedt
Quoted 12 lines · On Tue, 9 Dec 2008 11:23:32 +0100 Bernhard Reutner-Fischer…
Quoted 8 lines · egtvedt at uclibc.org
Author: egtvedt
Date: 2008-12-09 02:09:15 -0800 (Tue, 09 Dec 2008) New Revision: 24343Log:
binutils: fix typo for detecting ifBINUTILS_NO_MPFRis not setMake the ifndef check the actual variable, typo bug.
What are you trying to do or "fix"?
Quoted 8 lines
Quoted 3 lines
So the ifndef is not supposed to look at the actual variable? Just some text which happens to be exactly the same as a variable which might be set above?
I suspect you're confusing "ifdef" with "ifeq", aren't you. Please look carefully at
$ grep NO_MPFR toolchain/binutils/binutils.mk
Argh, I was, sorry :( I'll revert the commit.
Signature · 2 lines
Best regards, Hans-Christian Egtvedt