diff options
| author | Simon John <git@the-jedi.co.uk> | 2017-07-25 06:13:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-25 06:13:48 +0100 |
| commit | c116e48418004e6f2538f711b63abc128c26245c (patch) | |
| tree | 5203db944df7fc50b0dc32812e2077603da098ed /Arduino.mk | |
| parent | d738cac966f6b02eb4153a32144c2a2a3e5c4715 (diff) | |
| parent | d1156e8fdf9c49cfd0dace56b8a467b7bbbe798c (diff) | |
Merge pull request #510 from sej7278/master
Add -fno-devirtualize to CXXFLAGS_STD
Diffstat (limited to 'Arduino.mk')
| -rw-r--r-- | Arduino.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1045,7 +1045,7 @@ endif ifndef CFLAGS_STD ifeq ($(shell expr $(CC_VERNUM) '>' 490), 1) - CFLAGS_STD = -std=gnu11 -flto -fno-fat-lto-objects + CFLAGS_STD = -std=gnu11 -flto -fno-fat-lto-objects -fdiagnostics-color else CFLAGS_STD = endif @@ -1056,7 +1056,7 @@ endif ifndef CXXFLAGS_STD ifeq ($(shell expr $(CC_VERNUM) '>' 490), 1) - CXXFLAGS_STD = -std=gnu++11 -fno-threadsafe-statics -flto + CXXFLAGS_STD = -std=gnu++11 -fno-threadsafe-statics -flto -fno-devirtualize -fdiagnostics-color else CXXFLAGS_STD = endif @@ -1164,7 +1164,7 @@ endif ######################################################################## # Tools version info -ARDMK_VERSION = 1.5 +ARDMK_VERSION = 1.6 $(call show_config_variable,ARDMK_VERSION,[COMPUTED]) CC_VERSION := $(shell $(CC) -dumpversion) |
