Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 617882 | Differences between
and this patch

Collapse All | Expand All

(-)a/eclass/mozcoreconf-v5.eclass (-3 / +6 lines)
Lines 178-185 mozconfig_init() { Link Here
178
			mozconfig_annotate "Gentoo's default optimization" --enable-optimize=-O2
178
			mozconfig_annotate "Gentoo's default optimization" --enable-optimize=-O2
179
		fi
179
		fi
180
	else
180
	else
181
		# Enable Mozilla's default
181
		if [[ $(gcc-major-version) -ge 7 ]]; then
182
		mozconfig_annotate "mozilla default" --enable-optimize
182
			mozconfig_annotate "Work around broken gcc-7" --enable-optimize=-O2
183
		else
184
			# Enable Mozilla's default
185
			mozconfig_annotate "mozilla default" --enable-optimize
186
		fi
183
	fi
187
	fi
184
188
185
	# Strip optimization so it does not end up in compile string
189
	# Strip optimization so it does not end up in compile string
186
- 

Return to bug 617882