Skip to content

Commit

Permalink
Supress an error from latest GCC for ARM.
Browse files Browse the repository at this point in the history
  • Loading branch information
peplin committed Feb 10, 2014
1 parent 0843215 commit 657742d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/lpc17xx/lpc17xx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ CPP = $(GCC_BIN)arm-none-eabi-g++
AS_FLAGS = -c -mcpu=cortex-m3 -mthumb --defsym RAM_MODE=0
CC_FLAGS = -c -fno-common -fmessage-length=0 -Wall -fno-exceptions \
-mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections \
-Wno-char-subscripts -Wno-unused-but-set-variable -Werror
-Wno-char-subscripts -Wno-unused-but-set-variable -Werror \
-Wno-aggressive-loop-optimizations
ONLY_C_FLAGS = -std=gnu99
ONLY_CPP_FLAGS = -std=gnu++0x
CC_SYMBOLS += -DTOOLCHAIN_GCC_ARM -DUSB_DEVICE_ONLY -D__LPC17XX__ -DBOARD=9
Expand Down

0 comments on commit 657742d

Please sign in to comment.