]> code.bitgloo.com Git - bitgloo/alee-forth.git/commitdiff
msp430: clean up some build flags
authorClyne Sullivan <clyne@bitgloo.com>
Sun, 5 Nov 2023 12:21:46 +0000 (07:21 -0500)
committerClyne Sullivan <clyne@bitgloo.com>
Sun, 5 Nov 2023 12:21:46 +0000 (07:21 -0500)
Makefile

index af43bf35197e7e1214c6a3b4ad8e000260ac3429..442b73ca88a45a952bc026b0c7b3215981d890d5 100644 (file)
--- 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