mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
qmake fixQmakeCC support versioned g++
capable to straslate things like g++-7 to gcc-7 Useful for distro packaging
This commit is contained in:
parent
fb4f206427
commit
cd3755da9e
@ -348,6 +348,7 @@ defineReplace(fixQmakeCC) {
|
||||
retVal = $$1
|
||||
contains(1, .*\+\+$):retVal=$$str_member($$1, 0 ,-3)
|
||||
contains(1, .*g\+\+$):retVal=$$str_member($$1, 0 ,-3)cc
|
||||
contains(1, .*g\+\+-[0-9]$):retVal=$$str_member($$1, 0 ,-5)cc$$str_member($$1, -2 ,-1)
|
||||
contains(1, .*clang\+\+$):retVal=$$str_member($$1, 0 ,-3)
|
||||
return($$retVal)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user