Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
linphone-cmake-builder
Commits
8957f80b
Commit
8957f80b
authored
Mar 16, 2016
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable position independent code for Android.
parent
281ba15b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
builders/vpx.cmake
builders/vpx.cmake
+1
-0
cmake/CMakeLists.txt
cmake/CMakeLists.txt
+1
-0
configs/config-android.cmake
configs/config-android.cmake
+1
-0
No files found.
builders/vpx.cmake
View file @
8957f80b
...
...
@@ -125,6 +125,7 @@ else()
set
(
EP_vpx_EXTRA_LDFLAGS
"--sysroot=
${
CMAKE_SYSROOT
}
"
)
list
(
APPEND EP_vpx_CONFIGURE_OPTIONS
"--sdk-path=
${
ANDROID_NDK_PATH
}
"
"--enable-pic"
)
set
(
EP_vpx_LINKING_TYPE
"--enable-static"
"--disable-shared"
"--enable-pic"
)
elseif
(
QNX
)
...
...
cmake/CMakeLists.txt
View file @
8957f80b
...
...
@@ -101,6 +101,7 @@ list(APPEND LINPHONE_BUILDER_EP_VARS
CMAKE_MODULE_LINKER_FLAGS:STRING
CMAKE_MODULE_PATH:PATH
CMAKE_NO_BUILD_TYPE:BOOL
CMAKE_POSITION_INDEPENDENT_CODE:BOOL
CMAKE_PREFIX_PATH:STRING
CMAKE_PROGRAM_PATH:STRING
CMAKE_RUNTIME_OUTPUT_DIRECTORY:PATH
...
...
configs/config-android.cmake
View file @
8957f80b
...
...
@@ -46,6 +46,7 @@ set(DEFAULT_VALUE_CMAKE_PLUGIN_LINKING_TYPE "-DENABLE_STATIC=NO" "-DENABLE_SHARE
# Global configuration
set
(
LINPHONE_BUILDER_HOST
"
${
CMAKE_SYSTEM_PROCESSOR
}
-linux-android"
)
set
(
CMAKE_POSITION_INDEPENDENT_CODE YES
)
if
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"armeabi"
AND ENABLE_VIDEO
)
message
(
STATUS
"Disabling video for armv6"
)
set
(
ENABLE_VIDEO NO CACHE BOOL
""
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment