aboutsummaryrefslogtreecommitdiff
path: root/cc3200/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/Makefile')
-rw-r--r--cc3200/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc3200/Makefile b/cc3200/Makefile
index 1798ac927..4db3b9e8d 100644
--- a/cc3200/Makefile
+++ b/cc3200/Makefile
@@ -23,6 +23,7 @@ CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -march=armv7e-m -mabi=aapcs -mcpu=co
CFLAGS = -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib $(CFLAGS_CORTEX_M4) -Os
CFLAGS += -g -ffunction-sections -fdata-sections -fno-common -fsigned-char -mno-unaligned-access
CFLAGS += -Iboards/$(BOARD)
+CFLAGS += $(CFLAGS_MOD)
LDFLAGS = -Wl,-nostdlib -Wl,--gc-sections -Wl,-Map=$@.map