Reduce optimization level from -O3 to work around ldc crashes

https://github.com/ldc-developers/ldc/issues/2103
epel9
Kalev Lember 8 years ago
parent 0922907573
commit c15067b707

@ -15,7 +15,7 @@
Name: ldc
Epoch: 1
Version: 1.3.0
Release: 0.2%{?pre:.%{pre}}%{?dist}
Release: 0.3%{?pre:.%{pre}}%{?dist}
Summary: A compiler for the D programming language
# The DMD frontend in dmd/* GPL version 1 or artistic license
@ -246,6 +246,9 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
%{_datadir}/geany/tags/phobos.d.tags
%changelog
* Tue Jun 13 2017 Kalev Lember <klember@redhat.com> - 1:1.3.0-0.3.beta2
- Reduce optimization level from -O3 to work around ldc crashes
* Tue Jun 13 2017 Kalev Lember <klember@redhat.com> - 1:1.3.0-0.2.beta2
- Disable bootstrap

@ -4,6 +4,6 @@
# Include directory where all .di or .d file are installed.
%_d_includedir %{_includedir}/d
# Compile options for ldc and make file
%_d_optflags -release -w -g -O3
%_d_optflags -release -w -g -O1
# Lib directory path
%_d_libdir %{_libdir}/d/

Loading…
Cancel
Save