projects
/
platform
/
upstream
/
rust-proc-macro2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc75ec
)
Add config
author
DongHun Kwak
<dh0128.kwak@samsung.com>
Mon, 13 Feb 2023 06:57:29 +0000
(15:57 +0900)
committer
DongHun Kwak
<dh0128.kwak@samsung.com>
Mon, 13 Feb 2023 06:57:29 +0000
(15:57 +0900)
packaging/rust-proc-macro2.spec
patch
|
blob
|
history
diff --git
a/packaging/rust-proc-macro2.spec
b/packaging/rust-proc-macro2.spec
index 8d6447ea2ec185c1f3b66968d7b774ce460e0d27..3b678c1db436fd2dd22fce2f836ac61f95a3bf63 100644
(file)
--- a/
packaging/rust-proc-macro2.spec
+++ b/
packaging/rust-proc-macro2.spec
@@
-39,7
+39,13
@@
cp %{SOURCE1} .
%build
%{rustc_dylib_build} \
--crate-name=%{real_crate_name} \
- -L%{_libdir} -lunicode_ident \
+ -lunicode_ident \
+ --cfg='feature="default"' \
+ --cfg='feature="proc-macro"' \
+ --cfg='feature="span-locations"' \
+ --cfg=span_locations \
+ --cfg=use_proc_macro \
+ --cfg=wrap_proc_macro \
./src/lib.rs
# ==========================================================