Skip to content
Snippets Groups Projects
Unverified Commit e8b66282 authored by Nicolas Tsiftes's avatar Nicolas Tsiftes Committed by GitHub
Browse files

Merge pull request #1822 from pjonsson/right-gcc

msp430: configure according to $(CC)
parents cd69c635 e76c083c
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ endif
### Checks for compiler version to enable 20-bit support
ifndef IAR
ifneq (,$(findstring 4.7.,$(shell msp430-gcc -dumpversion)))
ifneq (,$(findstring 4.7.,$(shell $(CC) -dumpversion)))
ifdef CPU_HAS_MSP430X
ifeq ($(TARGET_MEMORY_MODEL),large)
CFLAGS += -mmemory-model=$(TARGET_MEMORY_MODEL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment