mirror of git://git.musl-libc.org/musl
configure: make AR and RANLIB customizable
This commit is contained in:
parent
94751d8ee4
commit
4b5ba07650
|
@ -172,6 +172,8 @@ case "$arg" in
|
||||||
--host=*|--target=*) target=${arg#*=} ;;
|
--host=*|--target=*) target=${arg#*=} ;;
|
||||||
--build=*) build=${arg#*=} ;;
|
--build=*) build=${arg#*=} ;;
|
||||||
-* ) echo "$0: unknown option $arg" ;;
|
-* ) echo "$0: unknown option $arg" ;;
|
||||||
|
AR=*) AR=${arg#*=} ;;
|
||||||
|
RANLIB=*) RANLIB=${arg#*=} ;;
|
||||||
CC=*) CC=${arg#*=} ;;
|
CC=*) CC=${arg#*=} ;;
|
||||||
CFLAGS=*) CFLAGS=${arg#*=} ;;
|
CFLAGS=*) CFLAGS=${arg#*=} ;;
|
||||||
CPPFLAGS=*) CPPFLAGS=${arg#*=} ;;
|
CPPFLAGS=*) CPPFLAGS=${arg#*=} ;;
|
||||||
|
@ -734,6 +736,8 @@ cat << EOF
|
||||||
# This version of config.mak was generated by:
|
# This version of config.mak was generated by:
|
||||||
# $cmdline
|
# $cmdline
|
||||||
# Any changes made here will be lost if configure is re-run
|
# Any changes made here will be lost if configure is re-run
|
||||||
|
AR = ${AR:-\$(CROSS_COMPILE)ar}
|
||||||
|
RANLIB = ${RANLIB:-\$(CROSS_COMPILE)ranlib}
|
||||||
ARCH = $ARCH
|
ARCH = $ARCH
|
||||||
SUBARCH = $SUBARCH
|
SUBARCH = $SUBARCH
|
||||||
ASMSUBARCH = $ASMSUBARCH
|
ASMSUBARCH = $ASMSUBARCH
|
||||||
|
|
Loading…
Reference in New Issue