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
9d6f9535
Commit
9d6f9535
authored
Nov 21, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: regroup gcc-mingw options together
parent
0fcdea20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
configure.ac
configure.ac
+7
-3
No files found.
configure.ac
View file @
9d6f9535
...
@@ -258,7 +258,6 @@ case "${host_os}" in
...
@@ -258,7 +258,6 @@ case "${host_os}" in
# DEP, ASLR, NO SEH
# DEP, ASLR, NO SEH
LDFLAGS="${LDFLAGS} -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase"
LDFLAGS="${LDFLAGS} -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase"
VLC_ADD_LDFLAGS([vlc],[-mwindows])
AC_CHECK_PROGS(U2D, [unix2dos todos], unix2dos)
AC_CHECK_PROGS(U2D, [unix2dos todos], unix2dos)
ac_default_prefix="`pwd`/_win32"
ac_default_prefix="`pwd`/_win32"
DESTDIR="`pwd`/_win32/"
DESTDIR="`pwd`/_win32/"
...
@@ -455,6 +454,7 @@ AM_ICONV
...
@@ -455,6 +454,7 @@ AM_ICONV
dnl
dnl
dnl checks for mingw
dnl checks for mingw
AS_IF([test "${SYS}" = "mingw32"], [
AS_IF([test "${SYS}" = "mingw32"], [
dnl Check for broken versions of mingw-runtime compatability library
dnl Check for broken versions of mingw-runtime compatability library
AC_MSG_CHECKING(for broken mingw-runtime)
AC_MSG_CHECKING(for broken mingw-runtime)
AC_PREPROC_IFELSE([AC_LANG_SOURCE([
AC_PREPROC_IFELSE([AC_LANG_SOURCE([
...
@@ -472,10 +472,14 @@ dnl Check for broken versions of mingw-runtime compatability library
...
@@ -472,10 +472,14 @@ dnl Check for broken versions of mingw-runtime compatability library
AC_MSG_RESULT([present])
AC_MSG_RESULT([present])
AC_MSG_ERROR([LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!])
AC_MSG_ERROR([LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!])
])
])
dnl force use of mingw provided c99 *printf over msvcrt
dnl force use of mingw provided c99 *printf over msvcrt
CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1"
CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1"
dnl Check for the need to include the mingwex lib for mingw32
dnl Add WinMainCRTStartup entry point to show it's a WinMain application
VLC_ADD_LDFLAGS([vlc],[-mwindows])
dnl Check for the need to include the mingwex lib for mingw32
VLC_SAVE_FLAGS
VLC_SAVE_FLAGS
AC_CHECK_LIB(mingwex,opendir,
AC_CHECK_LIB(mingwex,opendir,
AC_CHECK_LIB(mingw32,opendir,,
AC_CHECK_LIB(mingw32,opendir,,
...
@@ -483,7 +487,7 @@ dnl Check for the need to include the mingwex lib for mingw32
...
@@ -483,7 +487,7 @@ dnl Check for the need to include the mingwex lib for mingw32
)
)
VLC_RESTORE_FLAGS
VLC_RESTORE_FLAGS
dnl Check for fnative-struct or mms-bitfields support for mingw32
dnl Check for fnative-struct or mms-bitfields support for mingw32
VLC_SAVE_FLAGS
VLC_SAVE_FLAGS
CFLAGS="${CFLAGS} -mms-bitfields"
CFLAGS="${CFLAGS} -mms-bitfields"
CXXFLAGS="${CXXFLAGS} -mms-bitfields"
CXXFLAGS="${CXXFLAGS} -mms-bitfields"
...
...
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