Skip to content

Commit e6248f3

Browse files
committed
[imp] Pass -fno-rtti -fno-exceptions also while linking
1 parent 574d4e0 commit e6248f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ CPPC = $(TRGT)g++
137137
# Enable loading with g++ only if you need C++ runtime support.
138138
# NOTE: You can use C++ even without C++ support if you are careful. C++
139139
# runtime support makes code size explode.
140-
LD = $(TRGT)gcc
140+
LD = $(TRGT)gcc -fno-exceptions -fno-rtti
141141
#LD = $(TRGT)g++
142142
CP = $(TRGT)objcopy
143143
AS = $(TRGT)gcc -x assembler-with-cpp

0 commit comments

Comments
 (0)