diff --git a/metrowerks-tools.jam b/metrowerks-tools.jam index 62101af91..e11733634 100644 --- a/metrowerks-tools.jam +++ b/metrowerks-tools.jam @@ -24,6 +24,7 @@ flags metrowerks C++FLAGS ; flags metrowerks DEFINES ; flags metrowerks UNDEFS ; flags metrowerks HDRS ; +flags metrowerks STDHDRS ; flags metrowerks CFLAGS on : -g ; flags metrowerks LINKFLAGS on : -g ; @@ -100,7 +101,7 @@ rule Cc-action actions metrowerks-Cc-action { $(METROWERKS_SETUP) - mwcc -maxerrors 20 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -U$(UNDEFS) -D$(DEFINES) -nowraplines $(CFLAGS) -I- -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" + mwcc -maxerrors 20 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -U$(UNDEFS) -D$(DEFINES) -nowraplines $(CFLAGS) -I"$(HDRS)" -I- -I"$(STDHDRS)" -o "$(<)" "$(>)" } #### C++ #### @@ -112,7 +113,7 @@ rule C++-action actions metrowerks-C++-action { $(METROWERKS_SETUP) - mwcc -maxerrors 20 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -U$(UNDEFS) -D$(DEFINES) -DNOMINMAX -nowraplines -lang c++ $(CFLAGS) $(C++FLAGS) -I- -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" + mwcc -maxerrors 20 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -U$(UNDEFS) -D$(DEFINES) -DNOMINMAX -nowraplines -lang c++ $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I- -I"$(STDHDRS)" -o "$(<)" "$(>)" } #### Archive #### diff --git a/v1/metrowerks-tools.jam b/v1/metrowerks-tools.jam index 62101af91..e11733634 100644 --- a/v1/metrowerks-tools.jam +++ b/v1/metrowerks-tools.jam @@ -24,6 +24,7 @@ flags metrowerks C++FLAGS ; flags metrowerks DEFINES ; flags metrowerks UNDEFS ; flags metrowerks HDRS ; +flags metrowerks STDHDRS ; flags metrowerks CFLAGS on : -g ; flags metrowerks LINKFLAGS on : -g ; @@ -100,7 +101,7 @@ rule Cc-action actions metrowerks-Cc-action { $(METROWERKS_SETUP) - mwcc -maxerrors 20 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -U$(UNDEFS) -D$(DEFINES) -nowraplines $(CFLAGS) -I- -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" + mwcc -maxerrors 20 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -U$(UNDEFS) -D$(DEFINES) -nowraplines $(CFLAGS) -I"$(HDRS)" -I- -I"$(STDHDRS)" -o "$(<)" "$(>)" } #### C++ #### @@ -112,7 +113,7 @@ rule C++-action actions metrowerks-C++-action { $(METROWERKS_SETUP) - mwcc -maxerrors 20 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -U$(UNDEFS) -D$(DEFINES) -DNOMINMAX -nowraplines -lang c++ $(CFLAGS) $(C++FLAGS) -I- -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" + mwcc -maxerrors 20 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -U$(UNDEFS) -D$(DEFINES) -DNOMINMAX -nowraplines -lang c++ $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I- -I"$(STDHDRS)" -o "$(<)" "$(>)" } #### Archive ####