From ed153e6a5b9f001bbe49128e6bc53053f55dd37b Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 21 Apr 2017 18:26:22 +0200 Subject: Can plot on a surface from lua --- bam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bam.lua') 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") -- cgit v1.2.3