]> git.proxmox.com Git - ovs.git/blobdiff - m4/openvswitch.m4
build: Respect CFLAGS and LDFLAGS passed to make
[ovs.git] / m4 / openvswitch.m4
index d54483b2bd0b30a90f716d559b4aa2218b56a242..6e24f256999bee52ea3d7672144911df53654e98 100644 (file)
@@ -30,8 +30,8 @@ AC_DEFUN([OVS_CHECK_COVERAGE],
       esac],
      [coverage=false])
    if $coverage; then
-     CFLAGS="$CFLAGS -O0 --coverage"
-     LDFLAGS="$LDFLAGS --coverage"
+     OVS_CFLAGS="$OVS_CFLAGS -O0 --coverage"
+     OVS_LDFLAGS="$OVS_LDFLAGS --coverage"
    fi])
 
 dnl Checks for --enable-ndebug and defines NDEBUG if it is specified.