summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJacek Caban <jacek@codeweavers.com>2015-05-18 18:27:04 -0700
committerJacek Caban <jacek@codeweavers.com>2015-05-18 18:27:04 -0700
commit7ce676bd82d7f5d4a3523dea10949a8248b6cfd4 (patch)
treea0d745c478d9814971903ef4084b5a979c2a402d /configure
parent101563f40090075802d506818bc56758a0867bee (diff)
downloadnspr-hg-7ce676bd82d7f5d4a3523dea10949a8248b6cfd4.tar.gz
Bug 856404 - Don't default HOST_* variables to target ones when
cross compiling. r=ted
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure32
1 files changed, 0 insertions, 32 deletions
diff --git a/configure b/configure
index 11ef5fa9..67a87201 100755
--- a/configure
+++ b/configure
@@ -2666,19 +2666,6 @@ fi
if test -n "$gonkdir" ; then
- if test -z "$HOST_CPPFLAGS" ; then
- HOST_CPPFLAGS=" "
- fi
- if test -z "$HOST_CFLAGS" ; then
- HOST_CFLAGS=" "
- fi
- if test -z "$HOST_CXXFLAGS" ; then
- HOST_CXXFLAGS=" "
- fi
- if test -z "$HOST_LDFLAGS" ; then
- HOST_LDFLAGS=" "
- fi
-
$as_echo "#define ANDROID 1" >>confdefs.h
else
@@ -2763,19 +2750,6 @@ $as_echo "$android_platform" >&6; }
CXXFLAGS="-mandroid -I$android_platform/usr/include -fpic -fno-short-enums -fno-exceptions $CXXFLAGS"
LDFLAGS="-mandroid -L$android_platform/usr/lib -Wl,-rpath-link=$android_platform/usr/lib --sysroot=$android_platform $LDFLAGS"
- if test -z "$HOST_CPPFLAGS" ; then
- HOST_CPPFLAGS=" "
- fi
- if test -z "$HOST_CFLAGS" ; then
- HOST_CFLAGS=" "
- fi
- if test -z "$HOST_CXXFLAGS" ; then
- HOST_CXXFLAGS=" "
- fi
- if test -z "$HOST_LDFLAGS" ; then
- HOST_LDFLAGS=" "
- fi
-
$as_echo "#define ANDROID 1" >>confdefs.h
;;
@@ -4621,12 +4595,6 @@ test -n "$HOST_CC" || HOST_CC=""""
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST_CC" >&5
$as_echo "$HOST_CC" >&6; }
- if test -z "$HOST_CFLAGS"; then
- HOST_CFLAGS="$CFLAGS"
- fi
- if test -z "$HOST_LDFLAGS"; then
- HOST_LDFLAGS="$LDFLAGS"
- fi
CC="$HOST_CC"
CFLAGS="$HOST_CFLAGS"