Skip to content

Commit bcc3716

Browse files
committed
toolchain: metaware: remove -P lnker option
-P option will make linker ignore -o option, which would cause linker error when build with MWDT2021.03. this commit remove -P and fix the issue. Signed-off-by: Yuguo Zou <yuguo.zou@synopsys.com>
1 parent c361bc1 commit bcc3716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

options/toolchain/toolchain_mw.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ endif
155155
-Hnocopyr -Hnosdata -Hnocrt $(LMAP_OPTION) $(APPL_LINK_FILE)
156156

157157
## Link File Generation Options
158-
LINK_FILE_OPT += -Hnocopyr -Hasmcpp -Hasext=ld,met -Hnoarcexlib -Hnoarcsimd -E -P -nostdsysteminc -undef -D__MW__ $(ALL_INCLUDES)
158+
LINK_FILE_OPT += -Hnocopyr -Hasmcpp -Hasext=ld,met -Hnoarcexlib -Hnoarcsimd -E -nostdsysteminc -undef -D__MW__ $(ALL_INCLUDES)
159159
LINK_FILE_DEPOPT = $(LINK_FILE_OPT) -DENABLE_GENERATE_DEPENDCY_FILE $(MKDEP_OPT)
160160

161161
## Other Options

0 commit comments

Comments
 (0)