summaryrefslogtreecommitdiff
path: root/packages/mythtv
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-07-22 10:51:46 +0000
committerKoen Kooi <koen@openembedded.org>2008-07-22 10:51:46 +0000
commit923e632880d1383c858184f0ca2a509d7196595a (patch)
tree609c4446d6c82c37b0599c490c0a920fb269c835 /packages/mythtv
parent97356e8a1c274a2886622226e15937cf110c86f8 (diff)
mythtv: don't use 'uname' when cross compiling
Diffstat (limited to 'packages/mythtv')
-rw-r--r--packages/mythtv/mythtv/configure.patch16
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/mythtv/mythtv/configure.patch b/packages/mythtv/mythtv/configure.patch
index feb5e0c00e..16f5076880 100644
--- a/packages/mythtv/mythtv/configure.patch
+++ b/packages/mythtv/mythtv/configure.patch
@@ -1,5 +1,5 @@
--- /tmp/configure 2008-07-22 10:27:56.000000000 +0200
-+++ mythtv/configure 2008-07-22 12:40:06.000000000 +0200
++++ mythtv/configure 2008-07-22 12:50:43.000000000 +0200
@@ -476,12 +476,13 @@
}
@@ -16,6 +16,20 @@
cat >$TMPC
log_file $TMPC
check_cmd $cc $CFLAGS $ECFLAGS $OPTFLAGS "$@" -c -o $TMPO $TMPC
+@@ -1117,11 +1118,11 @@
+ fi
+
+ # machine
+-arch=`uname -m`
++disabled cross_compile && arch=`uname -m`
+ arch_raw="$arch"
+ cpu="generic"
+ cpu_override="no"
+-processor=`uname -p 2>/dev/null`
++disabled cross_compile && processor=`uname -p 2>/dev/null`
+ processor_flags=""
+ tune="generic"
+
@@ -1214,7 +1215,7 @@
# build settings
SHFLAGS='-shared -Wl,-soname,$@'