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
9b8ecc50
Commit
9b8ecc50
authored
Jun 08, 2004
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Choose -Os automatically on mipsel.
parent
c99820b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
configure.ac
configure.ac
+12
-4
vlc.roku
vlc.roku
+7
-5
No files found.
configure.ac
View file @
9b8ecc50
...
...
@@ -709,11 +709,19 @@ if test "${ac_cv_c_pipe}" != "no"; then
fi
dnl Check for various optimization flags
AC_CACHE_CHECK([if \$CC accepts -Os],
[ac_cv_c_os],
[CFLAGS="${CFLAGS_save} -Os"
AC_TRY_COMPILE([],,ac_cv_c_os=yes, ac_cv_c_os=no)])
if test "${ac_cv_c_os}" != "no" -a "${target_cpu}" = "mipsel"; then
CFLAGS_OPTIM="${CFLAGS_OPTIM} -Os"
fi
AC_CACHE_CHECK([if \$CC accepts -O3],
[ac_cv_c_o3],
[CFLAGS="${CFLAGS_save} -O3"
AC_TRY_COMPILE([],,ac_cv_c_o3=yes, ac_cv_c_o3=no)])
if test "${ac_cv_c_o3}" != "no"; then
if test "${ac_cv_c_o3}" != "no"
-a "${target_cpu}" != "mipsel"
; then
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O3"
fi
...
...
@@ -721,17 +729,17 @@ AC_CACHE_CHECK([if \$CC accepts -O2],
[ac_cv_c_o2],
[CFLAGS="${CFLAGS_save} -O2"
AC_TRY_COMPILE([],,ac_cv_c_o2=yes, ac_cv_c_o2=no)])
if test "${ac_cv_c_o2}" != "no"; then
if test "${ac_cv_c_o2}" != "no"
-a "${target_cpu}" != "mipsel"
; then
if test "${ac_cv_c_o3}" = "no"; then
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O2"
fi
CFLAGS_NOOPTIM="${CFLAGS_NOOPTIM} -O2"
else
else
AC_CACHE_CHECK([if \$CC accepts -O],
[ac_cv_c_o],
[CFLAGS="${CFLAGS_save} -O"
AC_TRY_COMPILE([],,ac_cv_c_o=yes, ac_cv_c_o=no)])
if test "${ac_cv_c_o}" != "no"; then
if test "${ac_cv_c_o}" != "no"
-a "${target_cpu}" != "mipsel"
; then
if test "${ac_cv_c_o3}" = "no"; then
CFLAGS_OPTIM="${CFLAGS_OPTIM} -O"
fi
...
...
vlc.roku
View file @
9b8ecc50
#!/bin/sh
SRC
=
"
${
HOME
}
/src"
ROKU
=
"
${
HOME
}
/src/roku-dev"
# do it.
make distclean
./bootstrap
CC
=
mipsel-linux-gcc
CXX
=
mipsel-linux-g++
AR
=
mipsel-linux-ar
LD
=
mipsel-linux-ld
RANLIB
=
mipsel-linux-ranlib
STRIP
=
mipsel-linux-strip
\
./configure
--host
=
mipsel
--enable-release
--enable-static
--enable-shared
--enable-plugins
\
--prefix
=
${
HOME
}
/src/roku-dev
/usr
\
--prefix
=
${
ROKU
}
/usr
\
--disable-sdl
\
--enable-mad
\
--disable-libmpeg2
--with-libmpeg2-tree
=
${
SRC
}
/mpeg2dec-0.4.0
\
...
...
@@ -51,8 +52,9 @@ CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld R
--enable-oss
--disable-alsa
\
--disable-visual
--disable-goom
\
--enable-hd1000a
--disable-hd1000v
\
CFLAGS
=
"-I
${
HOME
}
/src/roku-dev/usr/include -I
${
HOME
}
/src/roku-dev
/usr/local/include/roku"
\
CFLAGS
=
"-I
${
ROKU
}
/usr/include -I
${
ROKU
}
/usr/local/include/roku"
\
CXXFLAGS
=
"-I/usr/tools/roku/include"
\
CPPFLAGS
=
"-I
${
HOME
}
/src/roku-dev/usr/local/include"
\
LDFLAGS
=
"-L/usr/tools/roku/mipsel-linux/lib -L
${
HOME
}
/src/roku-dev/lib -L
${
HOME
}
/src/roku-dev/usr/local/lib -Wl,-rpath-link -Wl,
${
HOME
}
/src/roku-dev/usr/local/lib -lm"
&&
\
make
CPPFLAGS
=
"-I
${
ROKU
}
/usr/local/include"
\
LDFLAGS
=
"-L/usr/tools/roku/mipsel-linux/lib -L
${
ROKU
}
/lib -L
${
ROKU
}
/usr/local/lib -Wl,-rpath-link -Wl,
${
ROKU
}
/usr/local/lib"
&&
\
make
&&
${
STRIP
}
-s
vlc
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