Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
120c15e5
Commit
120c15e5
authored
Jan 04, 2009
by
Felix Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Darwin 10 adaptations
We create 64 bit builds on this OS by default for now
parent
8aad4501
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
14 deletions
+34
-14
extras/contrib/bootstrap
extras/contrib/bootstrap
+34
-14
No files found.
extras/contrib/bootstrap
View file @
120c15e5
...
...
@@ -2,12 +2,12 @@
# ***************************************************************************
# bootstrap : Set up config.mak
# ***************************************************************************
# Copyright (C) 2003-200
7
the VideoLAN team
# Copyright (C) 2003-200
9
the VideoLAN team
# $Id$
#
# Authors: Christophe Massiot <massiot@via.ecp.fr>
# Derk-Jan Hartman <hartman at videolan dot org>
# Felix
Kühne <fkuehne@users.sourceforge.net
>
# Felix
Paul Kühne <fkuehne at videolan dot org
>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -74,6 +74,9 @@ case $HOST in
*
powerpc
*
|
*
ppc
*
)
echo
"ARCH=ppc"
>>
config.mak
;;
*
darwin10
*
)
echo
"ARCH=x86_64"
>>
config.mak
;;
*
86
*
)
echo
"ARCH=i386"
>>
config.mak
;;
...
...
@@ -215,18 +218,21 @@ case $HOST in
exit
1
fi
;;
i686
-apple-darwin10
)
*
-apple-darwin10
)
SDK_TARGET
=
10.6
echo
"SDK_TARGET =
${
SDK_TARGET
}
"
>>
config.mak
echo
"HAVE_DARWIN_OS_ON_INTEL = 1"
>>
config.mak
echo
"HAVE_DARWIN_9 = 1"
>>
config.mak
echo
"HAVE_DARWIN_10 = 1"
>>
config.mak
HAVE_DARWIN_10
=
1
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=
${
SDK_TARGET
}
"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX
10.6
.sdk"
>>
config.mak
CFLAGS_TUNING
=
" -march=
pentium-m -mtune=prescott
"
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX
${
SDK_TARGET
}
.sdk"
>>
config.mak
CFLAGS_TUNING
=
" -march=
core2
"
EXTRA_CFLAGS
=
" -D
\$
{ENVP} -isysroot
\$
{MACOSX_SDK} -mmacosx-version-min=
\$
{SDK_TARGET}"
EXTRA_LDFLAGS
=
" -isysroot
\$
{MACOSX_SDK} -Wl,-syslibroot,
\$
{MACOSX_SDK}"
echo
"PATH = /bin:/usr/bin:/usr/local/bin"
>>
config.mak
CC
=
"gcc"
CXX
=
"g++"
cat
src/Distributions/darwin.mak
>>
distro.mak
if
test
-e
/Developer/SDKs
;
then
echo
"SDKs found. Everything is fine."
>
&2
...
...
@@ -359,23 +365,37 @@ fi
if
test
-z
"
$CONTRIBS_RELEASE
"
;
then
set
+x
echo
echo
"***********************************************************"
echo
"* If you are building contribs for a release build of VLC *"
echo
"* Please run CONTRIBS_RELEASE=sexy ./bootstrap *"
echo
"***********************************************************"
echo
"*****************************************************************"
echo
"* If you are building contribs for a release build of VLC *"
echo
"* Please run CONTRIBS_RELEASE=sexy ./bootstrap *"
echo
"* *"
echo
"* Ignore this message if you don't compile the 3rd party *"
echo
"* libraries your own aka by just running 'make' next. *"
echo
"*****************************************************************"
else
echo
"EXTRA_CFLAGS += -DNDEBUG"
>>
config.mak
set
-x
fi
if
test
$HAVE_DARWIN_9
;
then
if
test
-z
"
$CONTRIBS_CC_LLVM
"
;
then
set
+x
echo
echo
"***********************************************************"
echo
"* In case that you target Mac OS X 10.5 or later only, *"
echo
"* we recommend to use llvm-gcc-4.2 for compilation. *"
echo
"* Please run CONTRIBS_CC_LLVM=yes ./bootstrap to do so. *"
echo
"***********************************************************"
echo
"***********************************************************
******
"
echo
"* In case that you target Mac OS X 10.5 or later only,
*"
echo
"* we recommend to use llvm-gcc-4.2 for compilation.
*"
echo
"* Please run CONTRIBS_CC_LLVM=yes ./bootstrap to do so.
*"
echo
"***********************************************************
******
"
set
-x
fi
fi
if
test
$HAVE_DARWIN_10
;
then
set
+x
echo
echo
"*****************************************************************"
echo
"* You are running Darwin 10. *"
echo
"* For testing purposes, VLC will be compiled in 64bit mode. *"
echo
"*****************************************************************"
set
-x
fi
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