diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-05-23 09:36:50 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-05-23 09:36:50 +0100 |
commit | 432a1f18327a50d7b2bbdbe6b004473fe1b0b0b9 (patch) | |
tree | 722cbc2b11b36c083310fe3b6bdd1c850f6aed11 /README.md | |
parent | 1fd06de4e98d1b659500ecd66d88d6d80fcc60d3 (diff) | |
download | haskell-432a1f18327a50d7b2bbdbe6b004473fe1b0b0b9.tar.gz |
mk/config.mk.in: lower -O2 optimization down to -O1 on UNREG
It's not a new behaviour. First it was introduced by
2d5372cfdc2236a77ec49df249f3379b93224e06
("lower -O2 optimization down to -O1 on UNREG") to fix build
failure on unregisterised powerpc64.
This time I've noticed build failures on unregisterised ia64.
The change was accidentally reverted by commit
14d0f7f1221db758cd06a69f53803d9d0150164a
("Build system: Add stage specific SRC_HC_(WARNING_)OPTS)
The revert happened due to the following code rearrangement:
ifeq "$(GhcUnregisterised)" "YES"
GhcStage1HcOpts=
GhcStage2HcOpts=
GhcStage3HcOpts=
endif
GhcUnregisterised=@Unregisterised@
As a result 'ifeq' part has no effect.
The change moves 'ifeq' down to the very end of file
and adds a note it depends on the 'GhcUnregisterised' variable.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions