Skip to content

Commit

Permalink
Revert "boards: spresense: Add -fno-common for loadable ELF"
Browse files Browse the repository at this point in the history
Remove -fno-common as this is changed to common option with nuttx update.
  • Loading branch information
SPRESENSE committed Nov 7, 2022
1 parent 9a332d9 commit 1f7549e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boards/arm/cxd56xx/spresense/scripts/Make.defs
Expand Up @@ -59,8 +59,8 @@ LDMODULEFLAGS += -T $(call CONVERT_PATH,$(TOPDIR)/libs/libc/modlib/gnu-elf.ld)

# ELF module definitions

CELFFLAGS = $(CFLAGS) -fno-common
CXXELFFLAGS = $(CXXFLAGS) -fno-common
CELFFLAGS = $(CFLAGS)
CXXELFFLAGS = $(CXXFLAGS)

LDELFFLAGS = -r -e main
LDELFFLAGS += -T $(call CONVERT_PATH,$(TOPDIR)/binfmt/libelf/gnu-elf.ld)
Expand Down

0 comments on commit 1f7549e

Please sign in to comment.