Changeset 66852 in vbox
- Timestamp:
- May 9, 2017 3:47:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r66839 r66852 2513 2513 # Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc -dumpversion`. 2514 2514 # 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))|' ) 2517 2517 endif 2518 2518
Note:
See TracChangeset
for help on using the changeset viewer.