Browse Source

Following arduino to C++11

master
Uli 4 months ago
parent
commit
7fbc1dba9a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      arduino-base.mk

+ 1
- 1
arduino-base.mk View File

@@ -263,7 +263,7 @@ LST = $(ASRC:.S=.lst) $(SRC:.c=.lst) $(PSRC:.cpp=.lst) $(CORE_ASRC:.S=.lst) $(CO
# Combine all necessary flags and optional flags.
# Add target processor to flags.
ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) -Wa,-adhlns=$(<:.c=.lst)
ALL_CXXFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) -std=c++98 -Wa,-adhlns=$(<:.cpp=.lst)
ALL_CXXFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) -std=c++11 -Wa,-adhlns=$(<:.cpp=.lst)
ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)




Loading…
Cancel
Save