diff --git a/games/stonesoup/Makefile b/games/stonesoup/Makefile index 8d18d27ce28e..8ecc8d94e250 100644 --- a/games/stonesoup/Makefile +++ b/games/stonesoup/Makefile @@ -52,27 +52,7 @@ MAKE_ARGS= prefix=${PREFIX} \ .include -.if !defined(COMPILER_TYPE) -.if ${CC:T:Mgcc*} -COMPILER_TYPE:= gcc -.elif ${CC:T:Mclang} -COMPILER_TYPE:= clang -.elif ${CC:T} == "cc" -_COMPILER_VERSION!= ${CC} --version -.if ${_COMPILER_VERSION:Mgcc} -COMPILER_TYPE:= gcc -.elif ${_COMPILER_VERSION:M\(GCC\)} -COMPILER_TYPE:= gcc -.elif ${_COMPILER_VERSION:Mclang} -COMPILER_TYPE:= clang -.endif -.undef _COMPILER_VERSION -.else -COMPILER_TYPE:= ${CC:T} -.endif -.endif - -.if ${COMPILER_TYPE} == "clang" +.if ${CC:T:M*clang*} MAKE_ARGS+= NO_INLINE_DEPGEN=1 .endif