Acked-by: Joe Stringer <[email protected]>
On 22 January 2014 11:07, Ethan Jackson <[email protected]> wrote: > In practice, Linux kernel modules are only built with GCC, so it > doesn't make much sense to spend time compiling them with clang. > > Signed-off-by: Ethan Jackson <[email protected]> > --- > utilities/ovs-dev.py | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py > index e8280ff..3f32e58 100755 > --- a/utilities/ovs-dev.py > +++ b/utilities/ovs-dev.py > @@ -62,7 +62,6 @@ def conf(): > > configure = ["../configure", "--prefix=" + ROOT, "--localstatedir=" + > ROOT, > "--with-logdir=%s/log" % ROOT, "--with-rundir=%s/run" % > ROOT, > - "--with-linux=/lib/modules/%s/build" % uname(), > "--enable-silent-rules", "--with-dbdir=" + ROOT, > "--silent"] > > if options.werror: > @@ -86,7 +85,7 @@ def conf(): > pass # Directory exists. > > os.chdir(BUILD_GCC) > - _sh(*configure) > + _sh(*(configure + ["--with-linux=/lib/modules/%s/build" % uname()])) > > try: > _sh("clang --version", check=True) > -- > 1.8.1.2 > > _______________________________________________ > dev mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/dev >
_______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
