File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,9 @@ opts.Add("ccflags", "Custom flags for both the C and C++ compilers")
287287opts .Add ("cxxflags" , "Custom flags for the C++ compiler" )
288288opts .Add ("cflags" , "Custom flags for the C compiler" )
289289opts .Add ("linkflags" , "Custom flags for the linker" )
290+ opts .Add ("asflags" , "Custom flags for the assembler" )
291+ opts .Add ("arflags" , "Custom flags for the archive tool" )
292+ opts .Add ("rcflags" , "Custom flags for Windows resource compiler" )
290293
291294# Update the environment to have all above options defined
292295# in following code (especially platform and custom_modules).
@@ -533,6 +536,9 @@ env.Append(CCFLAGS=env.get("ccflags", "").split())
533536env .Append (CXXFLAGS = env .get ("cxxflags" , "" ).split ())
534537env .Append (CFLAGS = env .get ("cflags" , "" ).split ())
535538env .Append (LINKFLAGS = env .get ("linkflags" , "" ).split ())
539+ env .Append (ASFLAGS = env .get ("asflags" , "" ).split ())
540+ env .Append (ARFLAGS = env .get ("arflags" , "" ).split ())
541+ env .Append (RCFLAGS = env .get ("rcflags" , "" ).split ())
536542
537543# Feature build profile
538544env .disabled_classes = []
You can’t perform that action at this time.
0 commit comments