mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: libsmpeg: Fix build failure with GCC 7.
* gnu/packages/video.scm (libsmpeg)[arguments]: New field.
This commit is contained in:
parent
1f78a99964
commit
27130ee8f7
1 changed files with 4 additions and 0 deletions
|
@ -2515,6 +2515,10 @@ (define-public libsmpeg
|
|||
(base32
|
||||
"18yfkr70lr1x1hc8snn2ldnbzdcc7b64xmkqrfk8w59gpg7sl1xn"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
;; libsmpeg fails to build with -std=c++11, which is the default with
|
||||
;; GCC 7. Also, 'configure' does CXXFLAGS=$CFLAGS, hence this hack.
|
||||
'(#:configure-flags '("CFLAGS=-O2 -g -std=c++03")))
|
||||
(native-inputs
|
||||
`(("autoconf" ,autoconf)
|
||||
("automake" ,automake)))
|
||||
|
|
Loading…
Reference in a new issue