summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android/abi-common.cmake
blob: 84e7dbd794f47f3f21d660de6598d956610cf91c (plain)
1
2
3
4
5
6
7
8
9
10
string(APPEND _ANDROID_ABI_INIT_CFLAGS
  " -funwind-tables"
  " -no-canonical-prefixes"
  )

string(APPEND _ANDROID_ABI_INIT_EXE_LDFLAGS " -Wl,--gc-sections")

if(NOT _ANDROID_ABI_INIT_EXE_LDFLAGS_NO_nocopyreloc)
  string(APPEND _ANDROID_ABI_INIT_EXE_LDFLAGS " -Wl,-z,nocopyreloc")
endif()