Permalink
Browse files

Added toolchain directory /lib to LDFLAGS

  • Loading branch information...
1 parent 23b185e commit bedf2df1673901d2e6b84495025720c8bf41b1eb @nagromo committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/stm32/f4/Makefile.include
@@ -45,7 +45,7 @@ CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
LDSCRIPT ?= $(BINARY).ld
LDFLAGS += --static -lc -lnosys \
-L$(TOOLCHAIN_DIR)/lib/thumb/cortex-m4/float-abi-hard/fpuv4-sp-d16 \
- -T$(LDSCRIPT) -nostartfiles -Wl,--gc-sections \
+ -L$(TOOLCHAIN_DIR)/lib -T$(LDSCRIPT) -nostartfiles -Wl,--gc-sections \
-mthumb -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16
OBJS += $(BINARY).o

0 comments on commit bedf2df

Please sign in to comment.