From a7b3cc1604241a23b706e2a7e6ad95441123e168 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 5 Nov 2023 07:21:46 -0500 Subject: [PATCH] msp430: clean up some build flags --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index af43bf3..442b73c 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,8 @@ msp430: CXX := msp430-elf-g++ msp430: AR := msp430-elf-gcc-ar msp430: CXXFLAGS += -I. -I/usr/msp430-elf/usr/include msp430: CXXFLAGS += -Os -mmcu=msp430fr2476 -ffunction-sections -fdata-sections -msp430: CXXFLAGS += -DMEMDICTSIZE=1024 -flto -fno-asynchronous-unwind-tables -fno-threadsafe-statics -fno-stack-protector -msp430: LDFLAGS += -L/usr/msp430-elf/usr/include -Tmsp430/msp430fr2476.ld -Wl,-gc-sections +msp430: CXXFLAGS += -flto -fno-asynchronous-unwind-tables -fno-threadsafe-statics -fno-stack-protector +msp430: LDFLAGS += -L msp430 -T msp430fr2476.ld -Wl,-gc-sections msp430: msp430/alee-msp430 msp430-prep: STANDALONE += forth/core-ext.fth forth/tools.fth forth/msp430.fth