Samuel Thibault, on Thu 23 Jun 2016 14:47:48 +0200, wrote: > simgrid's debian/rules forces -O3 in the CFLAGS. That should however be > only done if noopt is not in DEB_BUILD_OPTIONS.
Also, upstream seems to put -O3 again in tools/cmake/GCCFlags.cmake: set(optCFLAGS "-O3 -funroll-loops -fno-strict-aliasing ") it should be disabled with noopt. The idea is to have a binary that can be properly debugged in gdb (no "optimized" issue in gdb). Samuel

