In oder to disable the optimizein building, we have 2 methods to do that

1) Add #pragmaoptimize("", off) in source code file C/C++

2) Add DISABLE_OPTIMIZER=1 in sources file