You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/26 08:51:11 UTC

[incubator-nuttx] branch master updated: arch/z80: fix garbage collector option to linker

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 311efcd  arch/z80: fix garbage collector option to linker
311efcd is described below

commit 311efcd18028c2089b48f32415c8b05473f2de90
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Wed Jan 26 09:01:20 2022 +0200

    arch/z80: fix garbage collector option to linker
    
    Signed-off-by: Petro Karashchenko <pe...@gmail.com>
---
 arch/z80/src/ez80/Toolchain.defs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/z80/src/ez80/Toolchain.defs b/arch/z80/src/ez80/Toolchain.defs
index f546288..87c094e 100644
--- a/arch/z80/src/ez80/Toolchain.defs
+++ b/arch/z80/src/ez80/Toolchain.defs
@@ -64,7 +64,7 @@ ARCHASMINCLUDES = -include chip/clang-compat.asm
 ARCHASMLIST =
 ARCHASMWARNINGS = -W
 
-LDFLAGS += -gc-sections
+LDFLAGS += --gc-sections
 
 # Tool names/paths.