From ce60882ea5170a9bbd781b0ce0167938ddd75aec Mon Sep 17 00:00:00 2001 From: rok-cesnovar Date: Mon, 23 Mar 2020 21:18:39 +0100 Subject: [PATCH] add strip to find files --- make/compiler_flags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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