diff mbox

[2/3] ndctl: default to local ndctl.h for rpm builds

Message ID 20151110111709.15310.62913.stgit@dwillia2-desk3.jf.intel.com (mailing list archive)
State Accepted
Commit 2df438f16728
Headers show

Commit Message

Dan Williams Nov. 10, 2015, 11:17 a.m. UTC
If a distribution wants to limit functionality based on the kernel they
are shipping they can undo this policy.  Default local is the safe
option for unknown build environments.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 contrib/ndctl.spec.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/contrib/ndctl.spec.in b/contrib/ndctl.spec.in
index 3d0687ebdc47..1b9595050bce 100644
--- a/contrib/ndctl.spec.in
+++ b/contrib/ndctl.spec.in
@@ -52,7 +52,7 @@  Libraries for %{name}.
 %build
 echo "" > version
 ./autogen.sh
-%configure --disable-static
+%configure --disable-static --enable-local
 make %{?_smp_mflags}
 
 %install