make/common/NativeCompilation.gmk
branchihse-cflags-rewrite-branch
changeset 56243 51464c44102c
parent 56228 a20f3126f7c0
child 56312 a52bcf4118eb
equal deleted inserted replaced
56242:e60ee82dc0ce 56243:51464c44102c
   318           # Keep as much as possible on one execution line for best performance on Windows.
   318           # Keep as much as possible on one execution line for best performance on Windows.
   319           # No need to save exit code from compilation since pipefail is always active on
   319           # No need to save exit code from compilation since pipefail is always active on
   320           # Windows.
   320           # Windows.
   321 	  $$(call ExecuteWithLog, $$@, \
   321 	  $$(call ExecuteWithLog, $$@, \
   322 	      $$($1_$2_COMP) $$($1_$2_FLAGS) -showIncludes $$($1_$2_DEBUG_OUT_FLAGS) \
   322 	      $$($1_$2_COMP) $$($1_$2_FLAGS) -showIncludes $$($1_$2_DEBUG_OUT_FLAGS) \
   323 	          $(CC_OUT_OPTION)$$($1_$2_OBJ) $2) \
   323 	          $(CC_OUT_OPTION)$$($1_$2_OBJ) $2) 2>&1 \
   324 	      | $(GREP) -v -e "^Note: including file:" \
   324 	      | $(GREP) -v -e "^Note: including file:" \
   325 	          -e "^$(notdir $2)$$$$" || test "$$$$?" = "1" ; \
   325 	          -e "^$(notdir $2)" || test "$$$$?" = "1" ; \
   326 	  $(ECHO) $$@: \\ > $$($1_$2_DEP) ; \
   326 	  $(ECHO) $$@: \\ > $$($1_$2_DEP) ; \
   327 	  $(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_$2_OBJ).log \
   327 	  $(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_$2_OBJ).log \
   328 	      | $(SORT) -u >> $$($1_$2_DEP) ; \
   328 	      | $(SORT) -u >> $$($1_$2_DEP) ; \
   329 	  $(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_$2_DEP) > $$($1_$2_DEP_TARGETS)
   329 	  $(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_$2_DEP) > $$($1_$2_DEP_TARGETS)
   330         endif
   330         endif