OSDN Git Service

[PATCH] restore -fno-unit-at-a-time on GCC >= 4
authorWilly Tarreau <w@1wt.eu>
Sat, 8 Sep 2007 15:32:26 +0000 (17:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 Sep 2007 17:39:20 +0000 (19:39 +0200)
commite56ce115f0d4fc815b2eeac51c6d1c51e85d9d42
treed13208dad18bc6645ff7c8ac777e3eaf3617b673
parent3c8aaf1e38d4bd893e82c7b74837b15abe6b7d3a
[PATCH] restore -fno-unit-at-a-time on GCC >= 4

-fno-unit-at-a-time was removed for gcc >= 4 in order to
support gcc 4.2. Unfortunately, this caused nasty problems
in many modules which had some of their read-only parameters
optimized away.

So we have to restore -fno-unit-at-a-time for the moment.
This will break gcc 4.2 again, and another solution will be
needed in order to support it. Note that -fno-unit-at-a-time
may not be supported in future versions of gcc.

Signed-off-by: Willy Tarreau <w@1wt.eu>
arch/i386/Makefile