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
c7de7efc
Commit
c7de7efc
authored
Nov 29, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extra/tools: use gcc-4.2 on Darwin
parent
9697eabd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
extras/tools/bootstrap
extras/tools/bootstrap
+6
-0
No files found.
extras/tools/bootstrap
View file @
c7de7efc
...
...
@@ -65,12 +65,16 @@ check_tar
[
-n
"
$NEEDED
"
]
&&
mkdir
-p
build/
CPUS
=
CC
=
CXX
=
case
`
uname
`
in
Linux
)
CPUS
=
`
grep
-c
^processor /proc/cpuinfo
`
;;
Darwin
)
CPUS
=
`
sysctl hw.ncpu|cut
-d
:
-f2
`
gcc-4.2
--version
>
/dev/null 2>&1
&&
CC
=
CC
=
gcc-4.2
g++-4.2
--version
>
/dev/null 2>&1
&&
CXX
=
CXX
=
g++-4.2
;;
*
)
CPUS
=
1
# default
...
...
@@ -80,6 +84,8 @@ esac
cat
>
Makefile
<<
EOF
MAKEFLAGS += -j
$CPUS
$CC
$CXX
PREFIX=
\$
(abspath ./build)
all:
$NEEDED
...
...
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