HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f78a99
)
gnu: libsmpeg: Fix build failure with GCC 7.
author
Ludovic Courtès
<ludo@gnu.org>
Sun, 22 Sep 2019 22:11:13 +0000
(
00:11
+0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Sun, 22 Sep 2019 22:11:13 +0000
(
00:11
+0200)
* gnu/packages/video.scm (libsmpeg)[arguments]: New field.
gnu/packages/video.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/video.scm
b/gnu/packages/video.scm
index
b6c32fa
..
1121958
100644
(file)
--- a/
gnu/packages/video.scm
+++ b/
gnu/packages/video.scm
@@
-2515,6
+2515,10
@@
Other features include a live preview and live streaming.")
(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)))