Skip to content

Commit 94271ba

Browse files
committed
Disable executable stack to prevent buffer overflow attacks
1 parent 5fb440a commit 94271ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/math/premake5.lua

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ scoped.group('Engine', function()
4646
buildoptions {
4747
'-masm=intel',
4848
}
49+
50+
linkoptions {
51+
"-z noexecstack"
52+
}
4953
end)
5054

5155
scoped.filter({

0 commit comments

Comments
 (0)