Hi,

On Thu, Apr 04, 2013 at 10:22:06AM +0200, Roland Kaufmann wrote:
> 
> Debug builds are the default when building from source.
> 

What is the preferred way to override this with custom flags?

I tried passing CXXFLAGS=-O3 to configure, but that has no effect:
CXXFLAGS="-g -O0 -DDEBUG" still holds internally.

Digging through configure I found the --disable-debug flag that
results in CXXFLAGS="-O3 -DNDEBUG". Unfortunately, I get linker
errors with boost when using it. The log can be found at
https://gist.github.com/blattms/5309998

I have no idea what is wrong here. Suspects are these options: -mtune
and -flto .

Markus

-- 
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany,  USt-Id: DE279960836
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658

Please notice the new address!

_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to