VirtualBox

Changeset 66852 in vbox


Ignore:
Timestamp:
May 9, 2017 3:47:27 PM (8 years ago)
Author:
vboxsync
Message:

Config.kmk: gcc 7 introduces -dumpfullversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r66839 r66852  
    25132513 # Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc -dumpversion`.
    25142514 # gcc-5 of openSUSE42.1 only returns the major version on `gcc -dumpversion`!
    2515  VBOX_GCC_VERSION = $(shell \
    2516     $(1) -dumpversion | $(SED_EXT) 's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' )
     2515 VBOX_GCC_VERSION = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion) | \
     2516    $(SED_EXT) 's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' )
    25172517endif
    25182518
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette