]> git.proxmox.com Git - mirror_ovs.git/commit
rhel: allow passing more flags to configure, fedora
authorMartin Xu <martinxu9.ovs@gmail.com>
Fri, 31 Aug 2018 18:52:42 +0000 (11:52 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 5 Sep 2018 21:21:30 +0000 (14:21 -0700)
commiteac9f26661aeb3bf565a4730e04f1f05f44bf444
treeca5f5f7d412da18ac4d187b9ae32bf0c224b51ef
parent56bfa517d9c8face982efc852644c72e1b5b1564
rhel: allow passing more flags to configure, fedora

Define a variable _ovs_config_extra_flags to allow passing more flags to
configure when building OVS kmod RPM. For example, to build with a
non-standard openssl and add an RPATH, use the following command

make rpm-fedora-kmod RPMBUILD_OPT='-D "_ovs_config_extra_flags
--with-openssl=<path to your openssl header> LDFLAGS=\"\${LDFLAGS} -Xlinker
-rpath=<path to your openssl lib>\""'

Signed-off-by: Martin Xu <martinxu9.ovs@gmail.com>
CC: Greg Rose <gvrose8192@gmail.com>
CC: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Reviewed-by: Markos Chandras <mchandras@suse.de>
rhel/openvswitch-kmod-fedora.spec.in