diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk index bc9802263ad..adba62283a1 100644 --- a/make/common/NativeCompilation.gmk +++ b/make/common/NativeCompilation.gmk @@ -102,7 +102,7 @@ $(eval $(call DefineNativeToolchain, TOOLCHAIN_BUILD, \ ################################################################################ # Extensions of files handled by this macro. -NATIVE_SOURCE_EXTENSIONS := %.s %.c %.cpp %.m %.mm +NATIVE_SOURCE_EXTENSIONS := %.s %.c %.cpp %.cc %.m %.mm # Replaces native source extensions with the object file extension in a string. # Param 1: the string containing source file names with extensions @@ -167,7 +167,7 @@ define add_native_source $1_$2_FLAGS=$8 -DTHIS_FILE='"$$(