Commit fbfaa42a authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib: don't stip the arch from {HOST}

parent f7ff47d8
...@@ -170,8 +170,7 @@ test -z "$ENABLE_SMALL" || add_make_enabled "ENABLE_SMALL" ...@@ -170,8 +170,7 @@ test -z "$ENABLE_SMALL" || add_make_enabled "ENABLE_SMALL"
# #
# Checks # Checks
# #
OS="${HOST#*-}" # strip architecture case "${HOST}" in
case "${OS}" in
arm-apple-darwin*) arm-apple-darwin*)
add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD" add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD"
;; ;;
...@@ -186,7 +185,7 @@ case "${OS}" in ...@@ -186,7 +185,7 @@ case "${OS}" in
*bsd*) *bsd*)
add_make_enabled "HAVE_BSD" add_make_enabled "HAVE_BSD"
;; ;;
linux-androideabi) *linux-androideabi)
check_android_sdk check_android_sdk
add_make_enabled "HAVE_LINUX" "HAVE_ANDROID" add_make_enabled "HAVE_LINUX" "HAVE_ANDROID"
add_make "PATH = ${ANDROID_NDK}/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:${PATH}" add_make "PATH = ${ANDROID_NDK}/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:${PATH}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment