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
Notes:
sideshowbarker
2024-07-17 01:53:23 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/57ea3e160a Pull-request: https://github.com/SerenityOS/serenity/pull/22671
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
Reference in a new issue