Commit df466a61 authored by Ben Couturier's avatar Ben Couturier Committed by Marco Clemencic
Browse files

Patch #5165: Change GaudiPolicy to allow compilation with -O3

https://savannah.cern.ch/patch/?5165

From: Ben Couturier <ben.couturier@cern.ch>


git-svn-id: svn+ssh://svn.cern.ch/reps/gaudi/Gaudi/trunk@6750 53ecefc3-a64d-0410-9bdf-b8581fa3287e
parent 333ea78a
......@@ -619,6 +619,7 @@ macro cppdebugflags "" \
macro cppdebugflags_s "-g" \
target-winxp "/Od /Z7"
macro cppoptimized_s "-O2 -DNDEBUG" \
use-O3&target-gcc "-O3 -DNDEBUG" \
target-winxp ""
macro cppprofiled_s "-pg" \
target-winxp ""
......@@ -628,10 +629,11 @@ macro_append cppdebugflags "" \
# C debug, optimized and profiled options
macro cdebugflags "" \
target-dbg "$(cdebugflags_s)" \
target-dbg "$(coptimized_s)"
target-opt "$(coptimized_s)"
macro cdebugflags_s "-g" \
target-winxp "/Od /Z7"
macro coptimized_s "-O2 -DNDEBUG" \
use-O3&target-gcc "-O3 -DNDEBUG" \
target-winxp ""
# Fortran debug, optimized and profiled options
......@@ -640,6 +642,7 @@ macro fdebugflags "" \
macro fdebugflags_s "-g"\
target-winxp "/nopdbfile /debug:full /optimize:0"
macro foptimized_s "-O2 -DNDEBUG" \
use-O3&target-gcc "-O3 -DNDEBUG" \
target-winxp ""
macro_append fdebugflags "" \
target-opt " $(foptimized_s)"
......
package GaudiPolicy
package manager: Marco Clemencic
! 2011-12-13 - Ben Couturier
- Patch #5165: Change GaudiPolicy requirements to allow compilation with -O3
(CMT tag "use-O3")
! 2011-12-13 - Marco Clemencic
- Removed POOL from the list of *VERS variables (old Doxygen settings).
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment