Skip to content

Commit cbb5d77

Browse files
committed
premake: experimentally enable optimizations
1 parent 687e7f6 commit cbb5d77

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

development/module/premake5.lua

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,13 @@ CreateWorkspace({name = "holylib", abi_compatible = false})
147147
"tier0",
148148
"pthread",
149149
"bass",
150-
}
150+
}
151+
152+
filter("configurations:ReleaseWithSymbols")
153+
optimize("Full")
154+
155+
buildoptions({
156+
"-O3",
157+
"-fno-rtti",
158+
"-fomit-frame-pointer",
159+
})

premake5.lua

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,13 @@ CreateWorkspace({name = "holylib", abi_compatible = false})
135135
"tier0",
136136
"pthread",
137137
"bass",
138-
}
138+
}
139+
140+
filter("configurations:ReleaseWithSymbols")
141+
optimize("Full")
142+
143+
buildoptions({
144+
"-O3",
145+
"-fno-rtti",
146+
"-fomit-frame-pointer",
147+
})

0 commit comments

Comments
 (0)