aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-11-05 07:21:46 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-11-05 07:21:46 -0500
commita7b3cc1604241a23b706e2a7e6ad95441123e168 (patch)
tree7a30427fc6cbeace9e0de05609a1fd22c808bc2d
parent7e10d0855c3ac6cc08e9089a731aa6f2a2fd4175 (diff)
msp430: clean up some build flags
-rw-r--r--Makefile4
1 files 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