projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce42ad
)
eclass/mozcoreconf-v4 : append flags for gcc-6 support
author
Jory A. Pratt
<anarchy@gentoo.org>
Sun, 16 Oct 2016 16:18:51 +0000
(11:18 -0500)
committer
Jory A. Pratt
<anarchy@gentoo.org>
Sun, 16 Oct 2016 16:18:51 +0000
(11:18 -0500)
eclass/mozcoreconf-v4.eclass
patch
|
blob
|
history
diff --git
a/eclass/mozcoreconf-v4.eclass
b/eclass/mozcoreconf-v4.eclass
index 2ab508b5dbd83c8f73d3c78490207c6540b801ee..9d0334a189cffbc8f05e66ee686740f9c69aec58 100644
(file)
--- a/
eclass/mozcoreconf-v4.eclass
+++ b/
eclass/mozcoreconf-v4.eclass
@@
-208,6
+208,11
@@
mozconfig_init() {
;;
esac
+ # We need to append flags for gcc-6 support
+ if [[ $(gcc-major-version) -ge 6 ]]; then
+ append-cxxflags -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2
+ fi
+
# Go a little faster; use less RAM
append-flags "$MAKEEDIT_FLAGS"