Skip to contentSkip to conversation

Pull request for branch gcc-pkgversion-fix

GIT PULL New Thomas Petazzoni 2 participants 3 messages Dec 15, 2009

lore
Share & tools
lore
#0 lore raw

The following changes since commit 687d0958a31f6aee8e8e4d26360961327049d9a8:
Peter Korsgaard (1):
toolchain/uClibc: avr32 patch should apply to 0.9.30.1

are available in the git repository at:

git://git.busybox.net/~tpetazzoni/git/buildroot gcc-pkgversion-fix

Thomas Petazzoni (1):
gcc: do not pass --with-pkgversion to gcc < 4.3

 toolchain/gcc/gcc-uclibc-4.x.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/1 gcc: do not pass --with-pkgversion to gcc < 4.3

Commit 09c181f2891276c458de327d241151bab38bde0f added new options passed to gcc configure to set --with-pkgversion and --with-bugurl, to gcc >= gcc 4.3. To check this, it was checking that the GCC_VERSION string does not contain 4.2.

Unfortunately, the test is bogus. It does a findstring on x4.2. (with a final dot) but compares the result with x4.2 (without the final dot).

The result is that even with 4.2 versions, the test was true, leading --with-pkgversion and --with-bugurl being passed to gcc's configure script.

---
 toolchain/gcc/gcc-uclibc-4.x.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
toolchain/gcc/gcc-uclibc-4.x.mk +1 -1
index 32f7a1e..6f65cb3 100644
@@ -45,7 +45,7 @@ GCC_NO_MPFR:=y
 endif
 
 # Branding works on >= 4.3
-ifneq ($(findstring x4.2.,x$(GCC_VERSION)),x4.2)
+ifneq ($(findstring x4.2.,x$(GCC_VERSION)),x4.2.)
 BUILDROOT_VERSION_STRING=$(call qstrip,$(BR2_VERSION))
 EXTRA_GCC_CONFIG_OPTIONS+=--with-pkgversion="Buildroot $(BUILDROOT_VERSION_STRING)" \
 	--with-bugurl="http://bugs.buildroot.net/"
Signature · 1 line
1.6.3.3
#2 lore raw
In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> The following changes since commit 687d0958a31f6aee8e8e4d26360961327049d9a8:
Thomas> Peter Korsgaard (1):
Thomas> toolchain/uClibc: avr32 patch should apply to 0.9.30.1

Pulled and pushed, thanks!

Signature · 1 line
Bye, Peter Korsgaard