We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b7fa79 commit fc43b44Copy full SHA for fc43b44
CMakeLists.txt
@@ -393,6 +393,11 @@ function(handle_options targetLib)
393
${libADLMIDI_SOURCE_DIR}/src/chips/esfmu/esfm_registers.c
394
${libADLMIDI_SOURCE_DIR}/src/chips/esfmu/esfm.h
395
)
396
+
397
+ if(CMAKE_COMPILER_IS_GNUCC AND CMAKE_CC_COMPILER_VERSION STREQUAL "7.5.0" AND CMAKE_BUILD_TYPE_LOWER STREQUAL "minsizerel")
398
+ # Workaround to build on GCC 7.5.0
399
+ set_source_files_properties("${libADLMIDI_SOURCE_DIR}/src/chips/esfmu/esfm.c" COMPILE_FLAGS "-fomit-frame-pointer")
400
+ endif()
401
else()
402
target_compile_definitions(${targetLib} PUBLIC ADLMIDI_DISABLE_ESFMU_EMULATOR)
403
endif()
0 commit comments