diff --git a/ldc.spec b/ldc.spec index 1f25da3..31c7497 100644 --- a/ldc.spec +++ b/ldc.spec @@ -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 - 1:1.3.0-0.3.beta2 +- Reduce optimization level from -O3 to work around ldc crashes + * Tue Jun 13 2017 Kalev Lember - 1:1.3.0-0.2.beta2 - Disable bootstrap diff --git a/macros.ldc b/macros.ldc index 076cf7d..ae4b901 100644 --- a/macros.ldc +++ b/macros.ldc @@ -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/