Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
77be5e90
Kaydet (Commit)
77be5e90
authored
Nis 16, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update experimental hacks for using Clang from the NDK
Change-Id: Id8fd8ca3c53fe97caa00a2d1c80b73387a4be2bc
üst
e616c346
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
configure.ac
configure.ac
+6
-2
No files found.
configure.ac
Dosyayı görüntüle @
77be5e90
...
@@ -223,7 +223,9 @@ AC_ARG_WITH(android-ndk-toolchain-version,
...
@@ -223,7 +223,9 @@ AC_ARG_WITH(android-ndk-toolchain-version,
AS_HELP_STRING([--with-android-ndk-toolchain-version],
AS_HELP_STRING([--with-android-ndk-toolchain-version],
[Specify which toolchain version to use, of those present in the
[Specify which toolchain version to use, of those present in the
Android NDK you are using. Mandatory if the NDK used has several
Android NDK you are using. Mandatory if the NDK used has several
toolchain versions for the host architecture you are building for.]), ,)
toolchain versions for the host architecture you are building for.
Possible values are 4.6, 4.8, clang3.3 and clang3.4. Only 4.8 has been
tested for real...]), ,)
AC_ARG_WITH(android-sdk,
AC_ARG_WITH(android-sdk,
AS_HELP_STRING([--with-android-sdk],
AS_HELP_STRING([--with-android-sdk],
...
@@ -268,12 +270,14 @@ if test -n "$with_android_ndk"; then
...
@@ -268,12 +270,14 @@ if test -n "$with_android_ndk"; then
ANDROID_BINUTILS_DIR=$ANDROID_NDK_HOME/toolchains/$android_platform_prefix-$with_android_ndk_toolchain_version
ANDROID_BINUTILS_DIR=$ANDROID_NDK_HOME/toolchains/$android_platform_prefix-$with_android_ndk_toolchain_version
ANDROID_COMPILER_DIR=$ANDROID_BINUTILS_DIR
ANDROID_COMPILER_DIR=$ANDROID_BINUTILS_DIR
;;
;;
clang3.
1|clang3.2
)
clang3.
3|clang3.4
)
AC_MSG_WARN([Building with the Clang tool-chain is known to break in the bridges module, fix that please])
AC_MSG_WARN([Building with the Clang tool-chain is known to break in the bridges module, fix that please])
ANDROID_BINUTILS_DIR=$ANDROID_NDK_HOME/toolchains/$android_platform_prefix-4.6
ANDROID_BINUTILS_DIR=$ANDROID_NDK_HOME/toolchains/$android_platform_prefix-4.6
ANDROID_COMPILER_DIR=$ANDROID_NDK_HOME/toolchains/llvm-${with_android_ndk_toolchain_version#clang}
ANDROID_COMPILER_DIR=$ANDROID_NDK_HOME/toolchains/llvm-${with_android_ndk_toolchain_version#clang}
ANDROID_USING_CLANG=true
ANDROID_USING_CLANG=true
;;
;;
*)
AC_MSG_ERROR([Unrecognized value for the --with-android-ndk-toolchain-version option])
esac
esac
if test ! -d $ANDROID_BINUTILS_DIR; then
if test ! -d $ANDROID_BINUTILS_DIR; then
...
...
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