summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2009-12-02 16:36:43 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-06 18:41:15 +0100
commit09c181f2891276c458de327d241151bab38bde0f (patch)
tree9bfb4b391f51a779eb32ceb4c9daba626bda38fd /toolchain
parent9f17728fb5a2bab29e2764c2def51cd732718d9b (diff)
Add pkgversion to gcc >= 4.3
Closes #765. [Peter: change to check for !4.2.x instead] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/gcc-uclibc-4.x.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index 241bfb3bf..d5a889fa3 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/toolchain/gcc/gcc-uclibc-4.x.mk
@@ -65,6 +65,13 @@ ifeq ($(findstring x4.0.,x$(GCC_VERSION)),x4.0.)
GCC_NO_MPFR:=y
endif
+# Branding works on >= 4.3
+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/"
+endif
+
GCC_TARGET_PREREQ=
GCC_STAGING_PREREQ=