[ovs-git] [openvswitch/ovs] 0d4259: build-aux/cccl: Enhance --with-debug option

GitHub noreply at github.com
Mon Mar 30 17:08:42 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0d42597cd1b9fa32fdfc6c033c97d28c09087b57
      https://github.com/openvswitch/ovs/commit/0d42597cd1b9fa32fdfc6c033c97d28c09087b57
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2015-03-30 (Mon, 30 Mar 2015)

  Changed paths:
    M build-aux/cccl

  Log Message:
  -----------
  build-aux/cccl: Enhance --with-debug option

This patch changes the behaviour in case the configure argument: --with-debug
was specified.

Currently the optimization flag in the case of debugging is the following:
https://msdn.microsoft.com/en-us/library/f9534wye.aspx
which does not fully disable optimization, that is why it was changed with
the following flag:
https://msdn.microsoft.com/en-us/library/aafb762y.aspx
which disables all code optimization.

Also this patch includes the definition of the following preprocessor
definitions:
_DEBUG - in case --with-debug is specified

The above definitions usually are defined when compiling with the following
flags:
https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
Since we are not compiling with the above flag, mimic the behaviour the
debug becahviour.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list