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
d25dc67d
Commit
d25dc67d
authored
Nov 05, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Factorize the win targets.
parent
b9b7edc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
extras/contrib/bootstrap
extras/contrib/bootstrap
+3
-5
No files found.
extras/contrib/bootstrap
View file @
d25dc67d
...
...
@@ -251,18 +251,15 @@ case $TARGET in
fi
;;
*
mingw32ce
)
add_makefile_cfg
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
EXTRA_CPPFLAGS
=
" -D_WIN32_WCE=0x0500"
hint_distro wince
;;
*
64-
*
mingw
*
)
add_enabled_makefile_cfg
"HAVE_WIN32"
add_makefile_cfg
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
EXTRA_CFLAGS
=
"-O3"
hint_distro win64
;;
*
mingw32
*
)
add_makefile_cfg
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
EXTRA_CFLAGS
=
" -O3 -march=i686 -mtune=generic"
hint_distro win32
;;
...
...
@@ -274,11 +271,9 @@ case $TARGET in
EXTRA_CFLAGS
=
" -mno-cygwin -isystem /usr/include/mingw"
EXTRA_CPPFLAGS
=
" -mno-cygwin -isystem /usr/include/mingw"
EXTRA_LDFLAGS
=
" -mno-cygwin"
add_makefile_cfg
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
hint_distro win32
;;
arm-wince-pe
)
add_makefile_cfg
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
EXTRA_CPPFLAGS
=
" -D_WIN32_WCE"
hint_distro wince
;;
...
...
@@ -366,6 +361,9 @@ case "$DISTRO" in
exit
1
fi
;;
win
*
)
add_makefile_cfg
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
;;
esac
# Save passed flags
...
...
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