mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
gcc: add a CC_GCC_HAS_PKGVERSION_BUGURL option
This patch adds a blind option CC_GCC_HAS_PKGVERSION_BUGURL to test the support of --with-pkgversion and --with-bugurl by GCC's configure. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
This commit is contained in:
parent
c06117b767
commit
b87fff5473
@ -195,6 +195,7 @@ config CC_GCC_4_3
|
||||
bool
|
||||
select CC_GCC_4_3_or_later
|
||||
select CC_GCC_USE_GMP_MPFR
|
||||
select CC_GCC_HAS_PKGVERSION_BUGURL
|
||||
|
||||
config CC_GCC_4_3_or_later
|
||||
bool
|
||||
@ -205,6 +206,7 @@ config CC_GCC_4_4
|
||||
select CC_GCC_4_4_or_later
|
||||
select CC_GCC_USE_GMP_MPFR
|
||||
select CC_GCC_HAS_GRAPHITE
|
||||
select CC_GCC_HAS_PKGVERSION_BUGURL
|
||||
|
||||
config CC_GCC_4_4_or_later
|
||||
bool
|
||||
@ -217,6 +219,7 @@ config CC_GCC_4_5
|
||||
select CC_GCC_USE_MPC
|
||||
select CC_GCC_HAS_GRAPHITE
|
||||
select CC_GCC_HAS_LTO
|
||||
select CC_GCC_HAS_PKGVERSION_BUGURL
|
||||
|
||||
config CC_GCC_4_5_or_later
|
||||
bool
|
||||
@ -229,6 +232,7 @@ config CC_GCC_4_6
|
||||
select CC_GCC_USE_MPC
|
||||
select CC_GCC_HAS_GRAPHITE
|
||||
select CC_GCC_HAS_LTO
|
||||
select CC_GCC_HAS_PKGVERSION_BUGURL
|
||||
|
||||
config CC_GCC_4_6_or_later
|
||||
bool
|
||||
@ -248,6 +252,9 @@ config CC_GCC_HAS_GRAPHITE
|
||||
config CC_GCC_HAS_LTO
|
||||
bool
|
||||
|
||||
config CC_GCC_HAS_PKGVERSION_BUGURL
|
||||
bool
|
||||
|
||||
# Only enable gcc's support for plugins if binutils has it as well
|
||||
# They are usefull only when doing LTO, but it does no harm enabling
|
||||
# them even without LTO.
|
||||
|
@ -3,7 +3,7 @@
|
||||
config CC_PKGVERSION
|
||||
string
|
||||
prompt "gcc ID string"
|
||||
depends on CC_GCC_4_3_or_later
|
||||
depends on CC_GCC_HAS_PKGVERSION_BUGURL
|
||||
default "crosstool-NG-${CT_VERSION}"
|
||||
help
|
||||
Specify a string that identifies your package. You may wish to include
|
||||
@ -15,7 +15,7 @@ config CC_PKGVERSION
|
||||
config CC_BUGURL
|
||||
string
|
||||
prompt "gcc bug URL"
|
||||
depends on CC_GCC_4_3_or_later
|
||||
depends on CC_GCC_HAS_PKGVERSION_BUGURL
|
||||
default ""
|
||||
help
|
||||
Specify the URL that users should visit if they wish to report a bug.
|
||||
|
Loading…
Reference in New Issue
Block a user