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
07371730
Commit
07371730
authored
Jul 28, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: fix cross compiling broken by my previous commit
parent
94762fed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+16
-13
No files found.
extras/contrib/src/Makefile
View file @
07371730
...
...
@@ -82,20 +82,24 @@ else
HOSTCC2
=
$(HOSTCC)
endif
# For ffmpeg if not cross compiling
ifneq
($(CC),)
FFMPEGCONF
=
--cc
=
"
$(CC)
"
endif
#
# compiling for MinGW under Cygwin could be detected as cross compiling
# unfortunately there isn't a complete separate GCC toolchain for MinGW under cygwin
# cross compiling
#
ifeq
(,$(findstring cygwin,$(BUILD)),)
ifneq
($(BUILD),$(HOST))
# We are cross compiling
ifneq
($(BUILD),$(HOST))
#
# Compiling for MinGW under Cygwin could be deemed as cross compiling
# unfortunately there isn't a complete separate GCC toolchain for MinGW under Cygwin
#
HOSTCONF
=
--host
=
$(HOST)
--build
=
$(BUILD)
FFMPEGCONF
=
--cross-prefix
=
$(HOST)
-
X264CONF
=
--crosscompile
=
$(HOST)
else
ifneq
($(CC),)
FFMPEGCONF
=
--cc
=
"
$(CC)
"
endif
ifeq
($(findstring cygwin,$(BUILD)),)
# We are REALLY cross compiling
FFMPEGCONF
=
--cross-prefix
=
$(HOST)
-
X264CONF
=
--crosscompile
=
$(HOST)
endif
endif
...
...
@@ -1506,8 +1510,7 @@ libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.gz
ifeq
($(HOST),i686-apple-darwin8)
(
cd
$<
;
./autogen.sh
)
endif
# MinGW host is not properly detected when building on cygwin
(cd
$<;
$(HOSTCC)
./configure
$(HOSTCONF)
--host
=
$(HOST)
--prefix
=
$(PREFIX)
--disable-nls
--disable-shared
&&
make
&&
make
install
)
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
--disable-nls
--disable-shared
&&
make
&&
make
install
)
# $(INSTALL_NAME)
touch
$@
...
...
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