|
|
@ -5036,7 +5036,12 @@ probe_cc(){ |
|
|
|
else |
|
|
|
else |
|
|
|
_ident=$($_cc --version 2>/dev/null | head -n1 | tr -d '\r') |
|
|
|
_ident=$($_cc --version 2>/dev/null | head -n1 | tr -d '\r') |
|
|
|
fi |
|
|
|
fi |
|
|
|
_DEPCMD='$(DEP$(1)) $(DEP$(1)FLAGS) $($(1)DEP_FLAGS) $< 2>&1 | awk '\''/including/ { sub(/^.*file: */, ""); gsub(/\\/, "/"); if (!match($$0, / /)) print "$@:", $$0 }'\'' > $(@:.o=.d)' |
|
|
|
if [ -x "$(command -v wslpath)" ]; then |
|
|
|
|
|
|
|
_DEPCMD='$(DEP$(1)) $(DEP$(1)FLAGS) $($(1)DEP_FLAGS) $< 2>&1 | awk '\''/including/ { sub(/^.*file: */, ""); if (!match($$0, / /)) { print $$0 } }'\'' | xargs -d\\n -n1 wslpath -u | awk '\''BEGIN { printf "%s:", "$@" }; { sub(/\r/,""); printf " %s", $$0 }; END { print "" }'\'' > $(@:.o=.d)' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
_DEPCMD='$(DEP$(1)) $(DEP$(1)FLAGS) $($(1)DEP_FLAGS) $< 2>&1 | awk '\''/including/ { sub(/^.*file: */, ""); gsub(/\\/, "/"); if (!match($$0, / /)) print "$@:", $$0 }'\'' > $(@:.o=.d)' |
|
|
|
|
|
|
|
fi |
|
|
|
_DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -showIncludes -Zs' |
|
|
|
_DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -showIncludes -Zs' |
|
|
|
_cflags_speed="-O2" |
|
|
|
_cflags_speed="-O2" |
|
|
|
_cflags_size="-O1" |
|
|
|
_cflags_size="-O1" |
|
|
|