mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[cmake]: fix cmake error about need twice make
modify cmake script to allow multiple define about ndk variables. It is a bug caused by low version ndk. Change-Id: I92584f050b0cfd5397b7cf85a8963dbe492baa69 Signed-off-by: sliver.chen <sliver.chen@rock-chips.com>
This commit is contained in:
@@ -1340,7 +1340,7 @@ set( ANDROID_RELRO ${ANDROID_RELRO} CACHE BOOL
|
||||
mark_as_advanced( ANDROID_NO_UNDEFINED ANDROID_SO_UNDEFINED ANDROID_FUNCTION_LEVEL_LINKING ANDROID_GOLD_LINKER ANDROID_NOEXECSTACK ANDROID_RELRO )
|
||||
|
||||
# linker flags
|
||||
set( ANDROID_LINKER_FLAGS "" )
|
||||
set( ANDROID_LINKER_FLAGS "-Wl,--allow-multiple-definition" )
|
||||
|
||||
if( ARMEABI_V7A )
|
||||
# this is *required* to use the following linker flags that routes around
|
||||
|
Reference in New Issue
Block a user