Skip to content

Commit db3234f

Browse files
authored
bcc-lua: enable deterministic bytecode generation (#5213)
LuaJIT does not generate bytecode deterministically by default, which makes the build of bcc-lua unreproducible. However, support for deterministic bytecode was added to LuaJIT some time ago. This change enables it for bcc-lua. - https://bugzilla.suse.com/show_bug.cgi?id=1236871 - LuaJIT/LuaJIT#1008 - https://reproducible-builds.org/
1 parent f954eb1 commit db3234f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lua/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (LUAJIT_LIBRARIES AND LUAJIT)
1515

1616
ADD_CUSTOM_COMMAND(
1717
OUTPUT bcc.o
18-
COMMAND ${LUAJIT} -bg bcc.lua bcc.o
18+
COMMAND ${LUAJIT} -bgd bcc.lua bcc.o
1919
DEPENDS bcc.lua
2020
)
2121

0 commit comments

Comments
 (0)