mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 02:50:38 +01:00
[cmake]: fix compile error on 64bit os
Change-Id: I5b6e961d4786e79748e1a1a290a04424bd3ad230 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
parent
4ac5912a10
commit
9da1bfaa04
1 changed files with 4 additions and 0 deletions
|
|
@ -1394,7 +1394,11 @@ endif()
|
|||
# ----------------------------------------------------------------------------
|
||||
# add linker definition for Android SDK build
|
||||
# ----------------------------------------------------------------------------
|
||||
if( X86_64 OR MIPS64 OR ARM64_V8A )
|
||||
set( ANDROID_LINKER_FLAGS "${ANDROID_LINKER_FLAGS} -Wl,-dynamic-linker,/system/bin/linker64 " )
|
||||
else()
|
||||
set( ANDROID_LINKER_FLAGS "${ANDROID_LINKER_FLAGS} -Wl,-dynamic-linker,/system/bin/linker " )
|
||||
endif()
|
||||
|
||||
if( ANDROID_COMPILER_IS_CLANG )
|
||||
set( ANDROID_CXX_FLAGS "-target ${ANDROID_LLVM_TRIPLE} -Qunused-arguments ${ANDROID_CXX_FLAGS}" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue