mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +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"
|
".global brotli_dictionary_data\n"
|
||||||
"brotli_dictionary_data:\n");
|
"brotli_dictionary_data:\n");
|
||||||
#endif
|
#endif
|
||||||
asm(".incbin \"LibCompress/BrotliDictionaryData.bin\"\n"
|
asm(".incbin \"" __FILE__ ".dict.bin\"\n"
|
||||||
#if (!defined(AK_OS_WINDOWS) && !defined(AK_OS_EMSCRIPTEN))
|
#if (!defined(AK_OS_WINDOWS) && !defined(AK_OS_EMSCRIPTEN))
|
||||||
".previous\n");
|
".previous\n");
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue