Commit 40377081 authored by Florian Oetke's avatar Florian Oetke
Browse files

added no_dead_strip to asm sections

parent f89c2ca0
Pipeline #2691 passed with stage
in 9 minutes and 52 seconds
......@@ -37,7 +37,7 @@ if("${EMBED_MODE} " STREQUAL "MSVC ")
execute_process(COMMAND ${CMAKE_COMMAND} -E touch "${EMBED_SRC_FILE}" OUTPUT_QUIET)
else()
if("${EMBED_MODE} " STREQUAL "APPLE ")
set(SECTION ".const_data")
set(SECTION ".const_data, no_dead_strip")
else()
set(SECTION ".section .rodata")
endif()
......
${SECTION}
.global ${ID}
.global ${ID}_size
${SECTION}
${ID}:
.incbin "${DST_DIR}/embedded_assets.zip"
1:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment