mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:54:58 +00:00
LibCompress: Use a __FILE__-relative path for the brotli dictionary file
This makes it so the generated assembly doesn't depend on compile-specific search paths, also making it possible to build with LTO.
This commit is contained in:
parent
cd4ebc45a0
commit
57ea3e160a
2 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ asm(".section .rodata\n"
|
|||
".global brotli_dictionary_data\n"
|
||||
"brotli_dictionary_data:\n");
|
||||
#endif
|
||||
asm(".incbin \"LibCompress/BrotliDictionaryData.bin\"\n"
|
||||
asm(".incbin \"" __FILE__ ".dict.bin\"\n"
|
||||
#if (!defined(AK_OS_WINDOWS) && !defined(AK_OS_EMSCRIPTEN))
|
||||
".previous\n");
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue