Skip to content

Commit

Permalink
Remove -mlong-calls and add -nostartfiles; see #29
Browse files Browse the repository at this point in the history
  Thanks @awatterott!
  • Loading branch information
mmoskal committed Dec 18, 2017
1 parent c389fc1 commit a6203f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ WFLAGS = \
CFLAGS = $(COMMON_FLAGS) \
-x c -c -pipe -nostdlib \
--param max-inline-insns-single=500 \
-fno-strict-aliasing -fdata-sections -ffunction-sections -mlong-calls \
-fno-strict-aliasing -fdata-sections -ffunction-sections \
$(WFLAGS)

LDFLAGS= $(COMMON_FLAGS) \
-Wall -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common \
-Wl,--warn-section-align -Wl,--warn-unresolved-symbols \
-save-temps \
-save-temps -nostartfiles \
--specs=nano.specs --specs=nosys.specs
BUILD_PATH=build/$(BOARD)
INCLUDES = -I./inc -I./inc/preprocessor
Expand Down

0 comments on commit a6203f6

Please sign in to comment.