mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-video/rtmpdump: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
Bug: https://bugs.gentoo.org/571106 Pull-Request: https://github.com/gentoo/gentoo/pull/1644 Package-Manager: portage-2.3.0_rc1
This commit is contained in:
committed by
Michał Górny
parent
13afd65740
commit
c8b9bb96e2
@@ -38,6 +38,8 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# fix #571106 by restoring pre-GCC5 inline semantics
|
||||
append-cflags -std=gnu89
|
||||
# fix Makefile ( bug #298535 , bug #318353 and bug #324513 )
|
||||
sed -i 's/\$(MAKEFLAGS)//g' Makefile \
|
||||
|| die "failed to fix Makefile"
|
||||
|
||||
@@ -32,6 +32,8 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# fix #571106 by restoring pre-GCC5 inline semantics
|
||||
append-cflags -std=gnu89
|
||||
# fix Makefile ( bug #298535 , bug #318353 and bug #324513 )
|
||||
sed -i 's/\$(MAKEFLAGS)//g' Makefile \
|
||||
|| die "failed to fix Makefile"
|
||||
|
||||
Reference in New Issue
Block a user