Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
cc806e1f
Commit
cc806e1f
authored
10 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
jni: fixed configure invocation
parent
864f9b84
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compile.sh
+5
-6
5 additions, 6 deletions
compile.sh
configure.sh
+7
-5
7 additions, 5 deletions
configure.sh
with
12 additions
and
11 deletions
compile.sh
+
5
−
6
View file @
cc806e1f
...
...
@@ -246,16 +246,15 @@ else
CLEAN
=
"distclean"
if
[
!
-f
config.h
]
;
then
echo
"Bootstraping"
../bootstrap
echo
"Configuring"
${
ANDROID_PATH
}
/configure.sh
$OPTS
pushd
../../
./configure.sh
echo
"Building"
make
$MAKEFLAGS
popd
fi
TARGET
=
fi
echo
"Building"
make
$MAKEFLAGS
####################################
# Ring android UI and specific code
####################################
...
...
This diff is collapsed.
Click to expand it.
configure.sh
+
7
−
5
View file @
cc806e1f
...
...
@@ -14,7 +14,7 @@ fi
# folder.
ANDROID_API
=
android-9
SFLPHONE_SOURCEDIR
=
sflphone
/daemon
SFLPHONE_SOURCEDIR
=
sflphone
CFLAGS
=
"-g -O2 -fstrict-aliasing -funsafe-math-optimizations"
if
[
-n
"
$HAVE_ARM
"
]
;
then
...
...
@@ -25,7 +25,6 @@ LDFLAGS="-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"
if
[
-n
"
$HAVE_ARM
"
]
;
then
if
[
${
ANDROID_ABI
}
=
"armeabi-v7a"
]
;
then
EXTRA_PARAMS
=
" --enable-neon"
LDFLAGS
=
"
$LDFLAGS
-Wl,--fix-cortex-a8"
fi
fi
...
...
@@ -37,6 +36,9 @@ SYSROOT=$ANDROID_NDK/platforms/$ANDROID_API/arch-$PLATFORM_SHORT_ARCH
ANDROID_BIN
=
`
echo
$ANDROID_NDK
/toolchains/
${
PATH_HOST
}
-
${
GCCVER
}
/prebuilt/
\`
uname
|tr A-Z a-z
\`
-
*
/bin/
`
CROSS_COMPILE
=
${
ANDROID_BIN
}
/
${
TARGET_TUPLE
}
-
pushd
$SFLPHONE_SOURCEDIR
/daemon
./autogen.sh
CPPFLAGS
=
"
$CPPFLAGS
"
\
CFLAGS
=
"
$CFLAGS
${
SFLPHONE_EXTRA_CFLAGS
}
"
\
CXXFLAGS
=
"
$CFLAGS
"
\
...
...
@@ -48,6 +50,6 @@ STRIP="${CROSS_COMPILE}strip" \
RANLIB
=
"
${
CROSS_COMPILE
}
ranlib"
\
AR
=
"
${
CROSS_COMPILE
}
ar"
\
PKG_CONFIG_LIBDIR
=
$SFLPHONE_SOURCEDIR
/contrib/
$TARGET_TUPLE
/lib/pkgconfig
\
sh
$SFLPHONE_SOURCEDIR
/configure
--host
=
$TARGET_TUPLE
--build
=
x86_64-unknown-linux
$EXTRA_PARAMS
\
--disable-video
\
$*
.
/configure
--host
=
$TARGET_TUPLE
$EXTRA_PARAMS
\
--disable-video
--without-zrtp
--without-dbus
--disable-video
--without-alsa
--without-pulse
--with-iax2
--without-tls
--with-contrib
=
"../contrib/
${
TARGET_TUPLE
}
"
\
$*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment