Skip to content

Commit a576d2e

Browse files
committed
COMPILER doesn't work, back to separate values
* templates/bmake.mpd:
1 parent 99ffe8a commit a576d2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/bmake.mpd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#----------------------------------------------------------------------------
88
<%marker(top)%>
99
<%foreach(compilers)%>
10-
!ifdef $(COMPILER) == "<%compiler%>"
10+
!ifdef <%normalize(uc(compiler))%>
1111
CC = <%cc%>
1212
OPTIMIZE_CFLAGS = <%optimize_flags%>
1313
DEBUG_CFLAGS = <%debug_flags%>
@@ -26,7 +26,7 @@ TLIB = <%tlib%>
2626
<%if(pch)%>PCH = 1<%endif%>
2727
!else
2828
<%endfor%>
29-
!error You must select one of these compilers:<%foreach(compilers)%> <%compiler%><%endfor%>
29+
!error You must select one of these compilers:<%foreach(compilers)%> <%normalize(uc(compiler))%><%endfor%>
3030
<%foreach(compilers)%>
3131
!endif
3232
<%endfor%>

0 commit comments

Comments
 (0)