Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
7a7f12fa
Commit
7a7f12fa
authored
Jan 28, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: make HAVE_FPU check consistent with vlc_cpu.h
parent
d31d221b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
contrib/src/main.mak
contrib/src/main.mak
+8
-0
No files found.
contrib/src/main.mak
View file @
7a7f12fa
...
...
@@ -29,6 +29,8 @@ CONTRIB_VIDEOLAN := $(VIDEOLAN)/testing/contrib
#
# Machine-dependent variables
#
cppcheck
=
$(
shell
$(CC)
$(CFLAGS)
-E
-dM
- < /dev/null |
grep
-E
$(1)
)
PREFIX
?=
$(TOPDST)
/
$(HOST)
PREFIX
:=
$(
abspath
$(PREFIX)
)
ifneq
($(HOST),$(BUILD))
...
...
@@ -38,6 +40,12 @@ ARCH := $(shell $(SRC)/get-arch.sh $(HOST))
ifneq
($(findstring $(ARCH),i386 sparc sparc64 ppc ppc64 x86_64),)
# This should be consistent with include/vlc_cpu.h
HAVE_FPU
=
1
else
ifneq
($(findstring $(ARCH),arm),)
ifneq
($(call cppcheck, __VFP_FP__)),)
ifeq
($(call cppcheck, __SOFT_FP__),)
HAVE_FPU
=
1
endif
endif
endif
ifeq
($(ARCH)-$(HAVE_WIN32),x86_64-1)
HAVE_WIN64
:=
1
...
...
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