Skip to content

Commit

Permalink
dev-lang/ocaml: filter -flto* too
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Oct 16, 2021
1 parent 04eb86b commit a491173
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dev-lang/ocaml/ocaml-4.05.0-r7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ src_configure() {

# Broken until 4.12
# bug #818445
filter-flags -flto
filter-flags '-flto*'
append-flags -fno-strict-aliasing

# -ggdb3 & co makes it behave weirdly, breaks sexplib
Expand Down
2 changes: 1 addition & 1 deletion dev-lang/ocaml/ocaml-4.05.0-r8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ src_configure() {

# Broken until 4.12
# bug #818445
filter-flags -flto
filter-flags '-flto*'
append-flags -fno-strict-aliasing

# -ggdb3 & co makes it behave weirdly, breaks sexplib
Expand Down
4 changes: 2 additions & 2 deletions dev-lang/ocaml/ocaml-4.09.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ BDEPEND="${RDEPEND}
PDEPEND="emacs? ( app-emacs/ocaml-mode )
xemacs? ( app-xemacs/ocaml )"

PATCHES=("${FILESDIR}"/${PN}-4.09.0-gcc-10.patch)
PATCHES=( "${FILESDIR}"/${PN}-4.09.0-gcc-10.patch )

src_prepare() {
default
Expand All @@ -30,7 +30,7 @@ src_prepare() {

# Broken until 4.12
# bug #818445
filter-flags -flto
filter-flags '-flto*'
append-flags -fno-strict-aliasing

# OCaml generates textrels on 32-bit arches
Expand Down
2 changes: 1 addition & 1 deletion dev-lang/ocaml/ocaml-4.10.2-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ src_prepare() {

# Broken until 4.12
# bug #818445
filter-flags -flto
filter-flags '-flto*'
append-flags -fno-strict-aliasing

# OCaml generates textrels on 32-bit arches
Expand Down
2 changes: 1 addition & 1 deletion dev-lang/ocaml/ocaml-4.11.2-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ src_prepare() {

# Broken until 4.12
# bug #818445
filter-flags -flto
filter-flags '-flto*'
append-flags -fno-strict-aliasing

# OCaml generates textrels on 32-bit arches
Expand Down

0 comments on commit a491173

Please sign in to comment.