File tree 1 file changed +11
-1
lines changed 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,21 @@ function usage() {
8
8
9
9
if [ " $1 " == " arm" ]; then
10
10
if [ " $2 " == " v7le" ] || [ " $2 " == " a9" ]; then
11
+ # Shift architecture and cpu off $@
12
+ shift
13
+ shift
11
14
CPUDIR=" armle-v7"
12
15
CPU=" armv7le"
16
+ ARCH=" arm"
13
17
else
14
18
usage
15
19
fi
16
20
elif [ " $1 " == " x86" ]; then
21
+ # Shift arch off $@
22
+ shift
17
23
CPUDIR=" x86"
18
24
CPU=" x86"
25
+ ARCH=" x86"
19
26
else
20
27
usage
21
28
fi
@@ -56,6 +63,9 @@ if [ ! -z "$BUILD_TESTS" ] ; then
56
63
echo " Developer build enabled for testing"
57
64
fi
58
65
66
+ # Pass extra options along
67
+ EXTRAOPTS=" $EXTRAOPTS $@ "
68
+
59
69
echo Extra configure options: $EXTRAOPTS
60
70
61
71
# Use GLES1 for simulator and GLES2 for device
77
87
-release \
78
88
-xplatform $USE_MKSPEC \
79
89
-little-endian \
80
- -arch $1 \
90
+ -arch $ARCH \
81
91
-no-largefile \
82
92
-nomake examples \
83
93
-xmlpatterns \
You can’t perform that action at this time.
0 commit comments