@ -299,6 +299,7 @@ Toolchain options:
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS]
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS]
--extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS [$CXXFLAGS]
--extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS [$CXXFLAGS]
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]
--extra-ldexeflags=ELDFLAGS add ELDFLAGS to LDEXEFLAGS [$LDEXEFLAGS]
--extra-libs=ELIBS add ELIBS [$ELIBS]
--extra-libs=ELIBS add ELIBS [$ELIBS]
--extra-version=STRING version string suffix []
--extra-version=STRING version string suffix []
--optflags=OPTFLAGS override optimization-related compiler flags
--optflags=OPTFLAGS override optimization-related compiler flags
@ -758,6 +759,10 @@ add_ldflags(){
append LDFLAGS $($ldflags_filter "$@")
append LDFLAGS $($ldflags_filter "$@")
}
}
add_ldexeflags(){
append LDEXEFLAGS $($ldflags_filter "$@")
}
add_stripflags(){
add_stripflags(){
append ASMSTRIPFLAGS "$@"
append ASMSTRIPFLAGS "$@"
}
}
@ -2829,6 +2834,9 @@ for opt do
--extra-ldflags=*)
--extra-ldflags=*)
add_ldflags $optval
add_ldflags $optval
;;
;;
--extra-ldexeflags=*)
add_ldexeflags $optval
;;
--extra-libs=*)
--extra-libs=*)
add_extralibs $optval
add_extralibs $optval
;;
;;
@ -5419,6 +5427,7 @@ WINDRES=$windres
DEPWINDRES=$dep_cc
DEPWINDRES=$dep_cc
DOXYGEN=$doxygen
DOXYGEN=$doxygen
LDFLAGS=$LDFLAGS
LDFLAGS=$LDFLAGS
LDEXEFLAGS=$LDEXEFLAGS
SHFLAGS=$(echo $($ldflags_filter $SHFLAGS))
SHFLAGS=$(echo $($ldflags_filter $SHFLAGS))
ASMSTRIPFLAGS=$ASMSTRIPFLAGS
ASMSTRIPFLAGS=$ASMSTRIPFLAGS
YASMFLAGS=$YASMFLAGS
YASMFLAGS=$YASMFLAGS