Browse Source

🔨 Fix Makefile GCC warning (#23957)

David Forrest 2 years ago
parent
commit
bdc2b2b965
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile View File

132
 CC_PATCHLEVEL:=$(shell $(CC) -dM -E - < /dev/null | grep __GNUC_PATCHLEVEL__ | cut -f3 -d\ )
132
 CC_PATCHLEVEL:=$(shell $(CC) -dM -E - < /dev/null | grep __GNUC_PATCHLEVEL__ | cut -f3 -d\ )
133
 CC_VER:=$(shell echo $$(( $(CC_MAJ) * 10000 + $(CC_MIN) * 100 + $(CC_PATCHLEVEL) )))
133
 CC_VER:=$(shell echo $$(( $(CC_MAJ) * 10000 + $(CC_MIN) * 100 + $(CC_PATCHLEVEL) )))
134
 ifeq ($(shell test $(CC_VER) -lt 40901 && echo 1),1)
134
 ifeq ($(shell test $(CC_VER) -lt 40901 && echo 1),1)
135
-  @echo This version of GCC is likely broken. Enabling relocation workaround.
135
+  $(warning This GCC version $(CC_VER) is likely broken. Enabling relocation workaround.)
136
   RELOC_WORKAROUND = 1
136
   RELOC_WORKAROUND = 1
137
 endif
137
 endif
138
 
138
 

Loading…
Cancel
Save