projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a78008
)
mozcoreconf-v6: Disable elf-hack when debug cflags enabled
author
Jory Pratt
<anarchy@gentoo.org>
Thu, 18 Jul 2019 01:41:37 +0000
(20:41 -0500)
committer
Jory Pratt
<anarchy@gentoo.org>
Thu, 18 Jul 2019 01:41:37 +0000
(20:41 -0500)
Closes: https://bugs.gentoo
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
eclass/mozcoreconf-v6.eclass
patch
|
blob
|
history
diff --git
a/eclass/mozcoreconf-v6.eclass
b/eclass/mozcoreconf-v6.eclass
index b844a3591c8a49d95740e4b205235f35e8c4003a..074b2da9f6a6c9c568255eb3f47df12a3e286539 100644
(file)
--- a/
eclass/mozcoreconf-v6.eclass
+++ b/
eclass/mozcoreconf-v6.eclass
@@
-196,7
+196,13
@@
mozconfig_init() {
fi
# Strip optimization so it does not end up in compile string
- filter-flags '-O* -ggdb3'
+ filter-flags '-O*'
+
+ filter-flags '-O*'
+
+ if is-flagq '-g*' ; then
+ mozconfig_annotate 'elf-hack broken with -g* flags' --disable-elf-hack
+ fi
# Strip over-aggressive CFLAGS
use custom-cflags || strip-flags