Skip to content

Commit

Permalink
sys-libs/compiler-rt: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Jan 12, 2017
1 parent e5f72db commit f119161
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sys-libs/compiler-rt/compiler-rt-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
EAPI=6

: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
# (needed due to CMAKE_BUILD_TYPE != Gentoo)
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )

# TODO: fix unnecessary dep on Python upstream
Expand All @@ -28,6 +30,9 @@ DEPEND="${RDEPEND}
test? ( ~sys-devel/clang-${PV} )
${PYTHON_DEPS}"

# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo

test_compiler() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
<<<'int main() { return 0; }' &>/dev/null
Expand Down

0 comments on commit f119161

Please sign in to comment.