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
0a55d7f0
Commit
0a55d7f0
authored
Dec 31, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs/osx: compilation fixes for libtool on PPC and FFmpeg in general
parent
afc47e44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
extras/contrib/bootstrap
extras/contrib/bootstrap
+10
-9
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-0
No files found.
extras/contrib/bootstrap
View file @
0a55d7f0
...
...
@@ -156,13 +156,14 @@ case $HOST in
echo
"HAVE_DARWIN_9 = 1"
>>
config.mak
HAVE_DARWIN_9
=
1
CFLAGS_TUNING
=
" -arch ppc -mtune=G4"
EXTRA_CFLAGS
=
" -D
\$
{ENVP} -mmacosx-version-min=
\$
{SDK_TARGET}"
EXTRA_CFLAGS
=
" -D
\$
{ENVP} -isysroot
\$
{MACOSX_SDK} -mmacosx-version-min=
\$
{SDK_TARGET}"
EXTRA_LDFLAGS
=
" -isysroot
\$
{MACOSX_SDK} -Wl,-syslibroot,
\$
{MACOSX_SDK}"
if
test
-z
"
$CONTRIBS_CC_LLVM
"
;
then
CC
=
"gcc
-isysroot
\$
{MACOSX_SDK}
"
CXX
=
"g++
-isysroot
\$
{MACOSX_SDK}
"
CC
=
"gcc"
CXX
=
"g++"
else
CC
=
"/Developer/usr/llvm-gcc-4.2/bin/
powerpc-apple-darwin9-llvm-gcc-4.2 -isysroot
\$
{MACOSX_SDK}
"
CXX
=
"/Developer/usr/llvm-gcc-4.2/bin/
powerpc-apple-darwin9-llvm-g++-4.2 -isysroot
\$
{MACOSX_SDK}
"
CC
=
"/Developer/usr/llvm-gcc-4.2/bin/
llvm-gcc-4.2
"
CXX
=
"/Developer/usr/llvm-gcc-4.2/bin/
llvm-g++-4.2
"
fi
LD
=
"ld -arch ppc -syslibroot
\$
{MACOSX_SDK}"
echo
"PATH = /bin:/usr/bin:/usr/local/bin:"
>>
config.mak
...
...
@@ -199,11 +200,11 @@ case $HOST in
EXTRA_CFLAGS
=
" -D
\$
{ENVP} -isysroot
\$
{MACOSX_SDK} -mmacosx-version-min=
\$
{SDK_TARGET}"
EXTRA_LDFLAGS
=
" -isysroot
\$
{MACOSX_SDK} -Wl,-syslibroot,
\$
{MACOSX_SDK}"
if
test
-z
"
$CONTRIBS_CC_LLVM
"
;
then
CC
=
"gcc
-isysroot
\$
{MACOSX_SDK}
"
CXX
=
"g++
-isysroot
\$
{MACOSX_SDK}
"
CC
=
"gcc"
CXX
=
"g++"
else
CC
=
"/Developer/usr/llvm-gcc-4.2/bin/i686-apple-darwin9-llvm-gcc-4.2
-isysroot
\$
{MACOSX_SDK}
"
CXX
=
"/Developer/usr/llvm-gcc-4.2/bin/i686-apple-darwin9-llvm-g++-4.2
-isysroot
\$
{MACOSX_SDK}
"
CC
=
"/Developer/usr/llvm-gcc-4.2/bin/i686-apple-darwin9-llvm-gcc-4.2"
CXX
=
"/Developer/usr/llvm-gcc-4.2/bin/i686-apple-darwin9-llvm-g++-4.2"
fi
echo
"PATH = /bin:/usr/bin:/usr/local/bin"
>>
config.mak
cat
src/Distributions/darwin.mak
>>
distro.mak
...
...
extras/contrib/src/Makefile
View file @
0a55d7f0
...
...
@@ -149,6 +149,7 @@ endif
ifdef
HAVE_DARWIN_OS
X264CONF
+=
--enable-pic
FFMPEGCONF
+=
--cc
=
$(CC)
FFMPEGCONF
+=
--arch
=
$(ARCH)
ifdef
HAVE_DARWIN_OS_ON_INTEL
FFMPEG_CFLAGS
+=
-DHAVE_LRINTF
...
...
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