Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d61052a0
Commit
d61052a0
authored
Mar 29, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contrib: Android simplifications
parent
ce30867e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
contrib/src/main.mak
contrib/src/main.mak
+7
-6
No files found.
contrib/src/main.mak
View file @
d61052a0
...
@@ -102,15 +102,16 @@ endif
...
@@ -102,15 +102,16 @@ endif
ifdef
HAVE_ANDROID
ifdef
HAVE_ANDROID
CC
:=
$(HOST)
-gcc
--sysroot
=
$(ANDROID_NDK)
/platforms/android-9/arch-arm
CC
:=
$(HOST)
-gcc
--sysroot
=
$(ANDROID_NDK)
/platforms/android-9/arch-arm
CXX
:=
$(HOST)
-g
++
--sysroot
=
$(ANDROID_NDK)
/platforms/android-9/arch-arm
CXX
:=
$(HOST)
-g
++
--sysroot
=
$(ANDROID_NDK)
/platforms/android-9/arch-arm
# Kludge for C++ prebuilt compiler
EXTRA_CFLAGS
+=
-D__STDC_VERSION__
=
199901L
EXTRA_CFLAGS
+=
-I
$(ANDROID_NDK)
/sources/cxx-stl/gnu-libstdc++/include
ifdef
HAVE_NEON
ifdef
HAVE_NEON
EXTRA_CFLAGS
+=
-I
$(ANDROID_NDK)
/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include
-mfloat-abi
=
softfp
-mfpu
=
neon
-mcpu
=
cortex-a8
ANDROID_ABI
=
armeabi-v7a
ANDROID_CPU_FLAGS
=
-mfpu
=
neon
-mcpu
=
cortex-a8
else
else
EXTRA_CFLAGS
+=
-I
$(ANDROID_NDK)
/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include
-mfloat-abi
=
softfp
-mcpu
=
arm1136jf-s
-mfpu
=
vfp
ANDROID_ABI
=
armeabi
ANDROID_CPU_FLAGS
=
-mcpu
=
arm1136jf-s
-mfpu
=
vfp
endif
endif
EXTRA_CFLAGS
+=
-D__STDC_VERSION__
=
199901L
-I
$(ANDROID_NDK)
/sources/cxx-stl/gnu-libstdc++/include
EXTRA_CFLAGS
+=
-I
$(ANDROID_NDK)
/sources/cxx-stl/gnu-libstdc++/libs/
$(ANDROID_ABI)
/include
EXTRA_CFLAGS
+=
-mfloat-abi
=
softfp
$(ANDROID_CPU_FLAGS)
endif
endif
ifdef
HAVE_MACOSX
ifdef
HAVE_MACOSX
...
...
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