aboutsummaryrefslogtreecommitdiff
path: root/bam.lua
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-04-21 18:26:22 +0200
committerAlex Auvolat <alex@adnab.me>2017-04-21 18:26:22 +0200
commited153e6a5b9f001bbe49128e6bc53053f55dd37b (patch)
tree9a9bbe3551ea1b5de71aa3c358fd13f46c603191 /bam.lua
parentf8334e283c5eb0efeb4bb8a134041e18388d5f01 (diff)
downloadkogata-ed153e6a5b9f001bbe49128e6bc53053f55dd37b.tar.gz
kogata-ed153e6a5b9f001bbe49128e6bc53053f55dd37b.zip
Can plot on a surface from lua
Diffstat (limited to 'bam.lua')
-rw-r--r--bam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/bam.lua b/bam.lua
index 395dd00..37fb358 100644
--- a/bam.lua
+++ b/bam.lua
@@ -132,7 +132,7 @@ local dev_cdrom = cdrom("dev", dev_settings)
local rel_settings = TableDeepCopy(base_settings)
for _, s in pairs(rel_settings) do
s.cc.flags:Add("-Os", "-flto")
- s.link.flags:Add("-Os", "-flto", "-Wl,--gc-sections")
+ s.link.flags:Add("-O3", "-Os", "-flto", "-Wl,--gc-sections")
-- Maybe do this, goes with --gc-sections
-- s.cc.flags:Add("-ffunction-sections", "-fdata-sections")