Add -fno-devirtualize to CXXFLAGS_STD to workaround a g++ bug. As this could impact performance we should track when the issue is fixed upstream to remove the flag again (see links from Issue #486)
Enabled colourised diagnostics from avr-gcc We forgot to increase ARDMK_VERSION for the 1.6.0 release
This commit is contained in:
parent
d738cac966
commit
d1156e8fdf
2 changed files with 6 additions and 4 deletions
|
@ -1045,7 +1045,7 @@ endif
|
||||||
|
|
||||||
ifndef CFLAGS_STD
|
ifndef CFLAGS_STD
|
||||||
ifeq ($(shell expr $(CC_VERNUM) '>' 490), 1)
|
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
|
else
|
||||||
CFLAGS_STD =
|
CFLAGS_STD =
|
||||||
endif
|
endif
|
||||||
|
@ -1056,7 +1056,7 @@ endif
|
||||||
|
|
||||||
ifndef CXXFLAGS_STD
|
ifndef CXXFLAGS_STD
|
||||||
ifeq ($(shell expr $(CC_VERNUM) '>' 490), 1)
|
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
|
else
|
||||||
CXXFLAGS_STD =
|
CXXFLAGS_STD =
|
||||||
endif
|
endif
|
||||||
|
@ -1164,7 +1164,7 @@ endif
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Tools version info
|
# Tools version info
|
||||||
ARDMK_VERSION = 1.5
|
ARDMK_VERSION = 1.6
|
||||||
$(call show_config_variable,ARDMK_VERSION,[COMPUTED])
|
$(call show_config_variable,ARDMK_VERSION,[COMPUTED])
|
||||||
|
|
||||||
CC_VERSION := $(shell $(CC) -dumpversion)
|
CC_VERSION := $(shell $(CC) -dumpversion)
|
||||||
|
|
|
@ -5,7 +5,9 @@ The following is the rough list of changes that went into different versions.
|
||||||
I tried to give credit whenever possible. If I have missed anyone, kindly add it to the list.
|
I tried to give credit whenever possible. If I have missed anyone, kindly add it to the list.
|
||||||
|
|
||||||
### In Development
|
### In Development
|
||||||
- TBC
|
- Fix: Add -fno-devirtualize flag to workaround g++ segfault bug (issue #486). (https://github.com/sej7278)
|
||||||
|
- Tweak: Set ARDMK_VERSION to 1.6 (https://github.com/sej7278)
|
||||||
|
- New: Added -fdiagnostics-color to *STD flags (https://github.com/sej7278)
|
||||||
|
|
||||||
### 1.6.0 (2017-07-11)
|
### 1.6.0 (2017-07-11)
|
||||||
- Fix: Allowed for SparkFun's weird usb pid/vid submenu shenanigans (issue #499). (https://github.com/sej7278)
|
- Fix: Allowed for SparkFun's weird usb pid/vid submenu shenanigans (issue #499). (https://github.com/sej7278)
|
||||||
|
|
Loading…
Reference in a new issue