/[gentoo-x86]/eclass/cmake-utils.eclass
Gentoo

Diff of /eclass/cmake-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.112 Revision 1.113
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.112 2014/10/27 09:49:05 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.113 2014/12/18 16:39:08 kensington Exp $
4 4
5# @ECLASS: cmake-utils.eclass 5# @ECLASS: cmake-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
448 448
449 # @SEE CMAKE_BUILD_TYPE 449 # @SEE CMAKE_BUILD_TYPE
450 if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then 450 if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then
451 # Handle release builds 451 # Handle release builds
452 if ! has debug ${IUSE//+} || ! use debug; then 452 if ! has debug ${IUSE//+} || ! use debug; then
453 local CPPFLAGS=${CPPFLAGS}
453 append-cppflags -DNDEBUG 454 append-cppflags -DNDEBUG
454 fi 455 fi
455 fi 456 fi
456 457
457 # Prepare Gentoo override rules (set valid compiler, append CPPFLAGS etc.) 458 # Prepare Gentoo override rules (set valid compiler, append CPPFLAGS etc.)

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

  ViewVC Help
Powered by ViewVC 1.1.20