summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/rust-byteorder.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/rust-byteorder.spec b/packaging/rust-byteorder.spec
index 9225fe6..f8a97d9 100644
--- a/packaging/rust-byteorder.spec
+++ b/packaging/rust-byteorder.spec
@@ -44,6 +44,7 @@ cp %{SOURCE1} .
%{rustc_std_build} --crate-type=dylib \
--crate-name=%{real_crate_name} \
%{?rustc_edition:--edition=%{rustc_edition}} \
+ --cfg='feature="std"' \
./src/lib.rs
# ==========================================================