Browse Source

Make the linker find libc & libm

Domenico Andreoli 1 year ago
parent
commit
9f2a9b865a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -103,6 +103,7 @@ CXXFLAGS += -ffunction-sections -fdata-sections
 CCASFLAGS += --specs=nano.specs
 CFLAGS    += --specs=nano.specs
 CXXFLAGS  += --specs=nano.specs
+LDFLAGS   += --specs=nano.specs
 # DDR speed config for c code
 CFLAGS += -DDDR_SPEED=$(DDR_SPEED)