diff --git a/make/compiler_flags b/make/compiler_flags index a736830fc1a..61adb29ddab 100644 --- a/make/compiler_flags +++ b/make/compiler_flags @@ -1,6 +1,6 @@ # Find files subroutine for different operating system # This is recursive version of the makefiles wildcard function -findfiles = $(subst \n,,$(foreach d,$(wildcard $(addsuffix *,$(1))),$(call findfiles,$(d)/,$(2)) $(wildcard $(d)/$(2)))) +findfiles = $(strip $(subst \n,,$(foreach d,$(wildcard $(addsuffix *,$(1))),$(call findfiles,$(d)/,$(2)) $(wildcard $(d)/$(2))))) ifneq ($(OS),Windows_NT) GENERATE_DISTRIBUTION_TESTS=true