From 6d8b1cf0d67cba386263d95828441fe1c2667100 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 19 Sep 2023 16:38:16 +0200 Subject: [PATCH] Move ccflags to compiler part * templates/bmake.mpd: --- templates/bmake.mpd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/bmake.mpd b/templates/bmake.mpd index 3fbb74a6..63adda70 100644 --- a/templates/bmake.mpd +++ b/templates/bmake.mpd @@ -11,6 +11,7 @@ CC = <%cc%> OPTIMIZE_CFLAGS = <%optimize_flags%> DEBUG_CFLAGS = <%debug_flags%> +CC_CFLAGS = <%ccflags%> WARN_FLAGS = <%warn_flags%> BINARY_FLAGS = <%binary_flags%> THREAD_FLAGS = <%thr_flags%> @@ -81,7 +82,7 @@ RC = <%rc%> DLLFLAGS = <%dllflags%> LIBFLAGS = <%libflags%> EXEFLAGS = <%exeflags%> -CCFLAGS = <%ccflags%><%if(type_is_binary)%> $(BINARY_FLAGS)<%endif%><%if(compile_flags)%> <%compile_flags%><%endif%> +CCFLAGS = $(CC_CFLAGS)<%if(type_is_binary)%> $(BINARY_FLAGS)<%endif%><%if(compile_flags)%> <%compile_flags%><%endif%> <%if(use_vcl)%> STARTUP_LETTER = <%if(exename)%>w<%else%><%startup_letter%><%endif%>