Fix build support gcc8 for other arch (#567)
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
// Do not build on GCC8, GCC8 has a compiler bug
|
||||
|
||||
#if defined(ARDUINO_ARCH_RP2040) || (__GNUC__ == 8)
|
||||
#if defined(ARDUINO_ARCH_RP2040) || ((__GNUC__ == 8) && (__XTENSA__))
|
||||
void setup() {}
|
||||
void loop() {}
|
||||
#else
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
#include "AudioGeneratorMIDI.h"
|
||||
|
||||
#if __GNUC__ == 8
|
||||
#if (__GNUC__ == 8) && (__XTENSA__)
|
||||
// Do not build, GCC8 has a compiler bug
|
||||
#else // __GNUC__ == 8
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef _AUDIOGENERATORMIDI_H
|
||||
#define _AUDIOGENERATORMIDI_H
|
||||
|
||||
#if __GNUC__ == 8
|
||||
#if (__GNUC__ == 8) && (__XTENSA__)
|
||||
// Do not build, GCC8 has a compiler bug
|
||||
#else // __GNUC__ == 8
|
||||
|
||||
|
||||
Reference in new issue
Block a user