Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
facf4da2
Commit
facf4da2
authored
Dec 05, 2017
by
Konstantin Pavlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: srt: override Werror=partial-availability for DARWIN_OS.
parent
c8bef655
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
contrib/src/srt/rules.mak
contrib/src/srt/rules.mak
+5
-1
No files found.
contrib/src/srt/rules.mak
View file @
facf4da2
...
...
@@ -13,6 +13,10 @@ ifeq ($(call need_pkg,"srt >= 1.2.2"),)
PKGS_FOUND
+=
srt
endif
ifdef
HAVE_DARWIN_OS
SRT_DARWIN
=
CFLAGS
=
"
$(CFLAGS)
-Wno-error=partial-availability"
CXXFLAGS
=
"
$(CXXFLAGS)
-Wno-error=partial-availability"
endif
$(TARBALLS)/$(SRT_TARBALL)
:
$(
call
download_pkg,
$(SRT_URL)
,srt
)
...
...
@@ -25,7 +29,7 @@ srt: $(SRT_TARBALL) .sum-srt
DEPS_srt
=
gnutls
$(DEPS_gnutls)
.srt
:
srt toolchain.cmake
cd
$<
&&
$(HOSTVARS_PIC)
$(CMAKE)
\
cd
$<
&&
$(HOSTVARS_PIC)
$(SRT_DARWIN)
$(CMAKE)
\
-DENABLE_SHARED
=
OFF
-DUSE_GNUTLS
=
ON
-DENABLE_CXX11
=
OFF
cd
$<
&&
$(MAKE)
install
touch
$@
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