|
|
|
@ -244,6 +244,7 @@ Toolchain options: |
|
|
|
|
--host-os=OS compiler host OS [$target_os] |
|
|
|
|
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS] |
|
|
|
|
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS] |
|
|
|
|
--extra-ldexeflags=ELDFLAGS add ELDFLAGS to LDEXEFLAGS [$LDEXEFLAGS] |
|
|
|
|
--extra-libs=ELIBS add ELIBS [$ELIBS] |
|
|
|
|
--extra-version=STRING version string suffix [] |
|
|
|
|
--optflags=OPTFLAGS override optimization-related compiler flags |
|
|
|
@ -679,6 +680,10 @@ add_ldflags(){ |
|
|
|
|
append LDFLAGS $($ldflags_filter "$@") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
add_ldexeflags(){ |
|
|
|
|
append LDEXEFLAGS $($ldflags_filter "$@") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
add_stripflags(){ |
|
|
|
|
append STRIPFLAGS "$@" |
|
|
|
|
} |
|
|
|
@ -2356,6 +2361,9 @@ for opt do |
|
|
|
|
--extra-ldflags=*) |
|
|
|
|
add_ldflags $optval |
|
|
|
|
;; |
|
|
|
|
--extra-ldexeflags=*) |
|
|
|
|
add_ldexeflags $optval |
|
|
|
|
;; |
|
|
|
|
--extra-libs=*) |
|
|
|
|
add_extralibs $optval |
|
|
|
|
;; |
|
|
|
@ -4575,6 +4583,7 @@ LD_LIB=$LD_LIB |
|
|
|
|
LD_PATH=$LD_PATH |
|
|
|
|
DLLTOOL=$dlltool |
|
|
|
|
LDFLAGS=$LDFLAGS |
|
|
|
|
LDEXEFLAGS=$LDEXEFLAGS |
|
|
|
|
SHFLAGS=$(echo $($ldflags_filter $SHFLAGS)) |
|
|
|
|
STRIPFLAGS=$STRIPFLAGS |
|
|
|
|
YASMFLAGS=$YASMFLAGS |
|
|
|
|