Work around gcc stack alignment issues, see
http://caml.inria.fr/mantis/view.php?id=5700
This commit is contained in:
parent
2b6c21aaa3
commit
179ac32d01
13
ocaml.spec
13
ocaml.spec
@ -1,6 +1,6 @@
|
|||||||
Name: ocaml
|
Name: ocaml
|
||||||
Version: 4.01.0
|
Version: 4.01.0
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
Summary: OCaml compiler and programming environment
|
Summary: OCaml compiler and programming environment
|
||||||
|
|
||||||
@ -262,7 +262,14 @@ ulimit -Hs 65536
|
|||||||
ulimit -Ss 65536
|
ulimit -Ss 65536
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# For the use of -mpreferred-stack-boundary to workaround gcc stack
|
||||||
|
# alignment issues, see: http://caml.inria.fr/mantis/view.php?id=5700
|
||||||
|
# ONLY use this on i386.
|
||||||
|
%ifarch %{ix86}
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS -mpreferred-stack-boundary=2" \
|
||||||
|
%else
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
%endif
|
||||||
./configure \
|
./configure \
|
||||||
-bindir %{_bindir} \
|
-bindir %{_bindir} \
|
||||||
-libdir %{_libdir}/ocaml \
|
-libdir %{_libdir}/ocaml \
|
||||||
@ -538,6 +545,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 6 2014 Richard W.M. Jones <rjones@redhat.com> - 4.01.0-7
|
||||||
|
- Work around gcc stack alignment issues, see
|
||||||
|
http://caml.inria.fr/mantis/view.php?id=5700
|
||||||
|
|
||||||
* Tue Dec 31 2013 Richard W.M. Jones <rjones@redhat.com> - 4.01.0-6
|
* Tue Dec 31 2013 Richard W.M. Jones <rjones@redhat.com> - 4.01.0-6
|
||||||
- Add aarch64 (arm64) code generator.
|
- Add aarch64 (arm64) code generator.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user