Skip to content

Commit 44484a6

Browse files
committed
ld.lld changes
Work in progress to support ld.lld as linker
1 parent 3ff6c7d commit 44484a6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/bmake.mpd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ COMMON_LIBS = <%common_libs%>
2626
TLIB = <%tlib%>
2727
DLLFLAGS = <%dllflags%>
2828
<%if(pch)%>PCH = 1<%endif%>
29+
<%if(objectsearchpath)%>
30+
OBJECTSEARCHPATH = \
31+
<%foreach(libpaths)%>
32+
-j"<%libpath%>"
33+
<%fornotlast(" \\")%>
34+
<%endfor%>
2935
!else
3036
<%endfor%>
3137
!error You must select one of these compilers:<%foreach(compilers)%> <%normalize(uc(compiler))%><%endfor%>
@@ -57,12 +63,6 @@ POSTLINKRM = <%postlinkrmext%>
5763
<%if(exename)%>
5864
EXEOUTPUTDIR = <%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir("Debug")%><%endif%><%else%><%if(windows_style)%><%output_dir("Debug")%><%else%><%output_dir(".")%><%endif%><%endif%>\\
5965
<%endif%>
60-
<%if(objectsearchpath)%>
61-
OBJECTSEARCHPATH = \
62-
<%foreach(libpaths)%>
63-
-j"<%libpath%>"
64-
<%fornotlast(" \\")%>
65-
<%endfor%>
6666
<%endif%>
6767
!else
6868
<%endfor%>

0 commit comments

Comments
 (0)