Skip to content

Commit

Permalink
Drop debug flags
Browse files Browse the repository at this point in the history
Had no effect on Debug/RelWithDebInfo builds, and would make Release/MinSizeRel builds RelWithDebInfo builds
  • Loading branch information
Daft-Freak committed Jan 31, 2020
1 parent 037d553 commit 91e3404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 32blit.toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ set(APPLICATION_VTOR_EXT 0x90000000)
set(EXTERNAL_LOAD_ADDRESS_EXT 0x08000000)
set(INITIALISE_QSPI_EXT 0)

set(COMMON_FLAGS "${MCU_FLAGS} -O0 -g -Wall -fdata-sections -ffunction-sections -Wattributes -Wdouble-promotion -Wno-unused-variable -Wno-write-strings")
set(COMMON_FLAGS "${MCU_FLAGS} -Wall -fdata-sections -ffunction-sections -Wattributes -Wdouble-promotion -Wno-unused-variable -Wno-write-strings")

set(CMAKE_C_FLAGS_INIT "${COMMON_FLAGS}")
set(CMAKE_CXX_FLAGS_INIT "${COMMON_FLAGS}")
Expand Down

0 comments on commit 91e3404

Please sign in to comment.