Skip to content

Commit

Permalink
dev-util/stressapptest: Fix building with GCC 5
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/651842
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Nov 29, 2018
1 parent c1c2340 commit ef2c13a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev-util/stressapptest/stressapptest-1.0.9.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="6"
Expand All @@ -18,6 +18,9 @@ RDEPEND="dev-libs/libaio"
DEPEND="${RDEPEND}"

src_configure() {
# Uses uintptr_t, which is C++11, #651842
append-cxxflags -std=c++11

# Matches the configure & sat.cc logic.
use debug || append-cppflags -DNDEBUG -DCHECKOPTS
econf --disable-default-optimizations
Expand Down

0 comments on commit ef2c13a

Please sign in to comment.