mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 06:17:07 -08:00
mozcoreconf-v6: Disable elf-hack when debug cflags enabled
Closes: https://bugs.gentoo Signed-off-by: Jory Pratt <anarchy@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user