Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8cedf34f
Commit
8cedf34f
authored
Aug 31, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc-config: Add a specific flag for libs, and remove werror there.
parent
769ee590
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
libs/loader/Makefile.am
libs/loader/Makefile.am
+1
-1
vlc-config.in.in
vlc-config.in.in
+12
-1
No files found.
libs/loader/Makefile.am
View file @
8cedf34f
...
...
@@ -14,7 +14,7 @@ noinst_LTLIBRARIES = libloader.la
# TODO: real check for vsscanf() and <sys/mmap.h>
AM_CPPFLAGS
=
-D__WINE__
-DHAVE_SYS_MMAN_H
=
1
-DHAVE_VSSCANF
=
1
\
-DWIN32_PATH
=
\"\"
-DTRACE
\(
...
\)
=
\(
void
\)
0
AM_CFLAGS
=
-fno-PIC
`
$(top_builddir)
/vlc-config
--cflags
`
-U_FILE_OFFSET_BITS
\
AM_CFLAGS
=
-fno-PIC
`
$(top_builddir)
/vlc-config
--cflags
libs
`
-U_FILE_OFFSET_BITS
\
-fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
noinst_HEADERS
=
com.h driver.h ext.h ldt_keeper.h loader.h registry.h
\
...
...
vlc-config.in.in
View file @
8cedf34f
...
...
@@ -52,6 +52,7 @@ Modules:
builtin flags for built-in modules
pic flags for PIC code
MODULE any available module (dummy, gtk, avi, etc.)
libs flags for external libs
BLAH
exit
$1
}
...
...
@@ -96,7 +97,7 @@ cppflags="${cppflags} -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURC
#
if
[
"
${
debug
}
"
=
yes
]
;
then
cppflags
=
"
${
cppflags
}
-DDEBUG"
cflags
=
"
${
cflags
}
-g
${
cflags_werror
}
"
cflags
=
"
${
cflags
}
-g"
cxxflags
=
"
${
cxxflags
}
-g"
objcflags
=
"
${
objcflags
}
-g"
ldflags
=
"
${
ldflags
}
-g"
...
...
@@ -226,6 +227,10 @@ while test $# -gt 0; do
echo_builtin
=
yes
cppflags
=
"
${
cppflags
}
-D__LIBVLC__ -D__BUILTIN__"
;;
libs
)
# Avoid to use werror on what is not vlc's code.
cflags_werror
=
""
;;
pic
)
;;
mozilla
)
...
...
@@ -248,6 +253,12 @@ if test -n "${module}"; then
cppflags
=
"
${
cppflags
}
-DMODULE_NAME=
${
module
}
-DMODULE_NAME_IS_
${
module
}
-DMODULE_STRING=
\"
${
module
}
\"
"
fi
#
# Set the Werror flags.
#
cflags
=
"
${
cflags
}
${
cflags_werror
}
"
#
# Output what we were asked
#
...
...
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