Skip to content

Commit

Permalink
cleanup SCRAM_TARGETS if not multi-vector build
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Aug 12, 2024
1 parent de9fcd6 commit f63130f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scram-project-build.file
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ echo %{configtag} > %_builddir/config/config_tag
%if "%{?vectorized_build:set}" == "set"
sed -i -e 's| SCRAM_TARGETS=.*"| SCRAM_TARGETS="%{package_vectorization}"|' %_builddir/config/Self.xml
sed -i -e 's|</tool>| <runtime name="SCRAM_TARGET" value="%{scram_target_default}"/>\n <runtime name="USER_TARGETS_ALL" value="1"/>\n</tool>|' %_builddir/config/Self.xml
%else
sed -i -e 's| SCRAM_TARGETS=.*"| SCRAM_TARGETS=""|' %_builddir/config/Self.xml
%endif

%if "%{?release_usercxxflags:set}" == "set"
Expand Down

0 comments on commit f63130f

Please sign in to comment.