Merge pull request #3121 from sujit4/fix/platform-defs-strip-whitespace
fix: use strip() when comparing PLATFORM_DEFS to avoid spurious rebuilds
This commit is contained in:
1 file changed
+1
-1
@@ -306,7 +306,7 @@ ifneq ($(PLATFORM), $(CACHED_PLATFORM))
|
||||
PLATFORM_CHANGED=true
|
||||
else ifneq ($(PLATFORM_EXTRAS), $(CACHED_PLATFORM_EXTRAS))
|
||||
PLATFORM_CHANGED=true
|
||||
else ifneq ($(PLATFORM_DEFS), $(CACHED_PLATFORM_DEFS))
|
||||
else ifneq ($(strip $(PLATFORM_DEFS)), $(strip $(CACHED_PLATFORM_DEFS)))
|
||||
PLATFORM_CHANGED=true
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user