diff options
| author | Milutin Jovanović <jovanovic.milutin@gmail.com> | 2012-06-10 20:58:48 -0400 |
|---|---|---|
| committer | Milutin Jovanović <jovanovic.milutin@gmail.com> | 2012-06-10 20:58:48 -0400 |
| commit | 32cd070c969ffd0b405460ef75f6fa095ed9657e (patch) | |
| tree | bc36b780bef2878e9bdc53c5265f7fa21ffa6eed /tcccoff.c | |
| parent | a42b029101a758127de570b113767977fbce7b2a (diff) | |
| download | tinycc-32cd070c969ffd0b405460ef75f6fa095ed9657e.tar.gz tinycc-32cd070c969ffd0b405460ef75f6fa095ed9657e.tar.bz2 | |
osx: Removed some optimizations for x86 builds as they were causing seg faults.
When using gcc compiler (as opposed to llvm) to build 32 bit tcc, compiler flags
-mpreferred-stack-boundary=2, -march=i386 and -falign-functions=2 were being
used. -march is redundant as -m32 is already being used. The other two seem to
be corrupting stack. I am not sure why this is the case, as the explanation of
the flags states that only running code size should be affected, but it does.
I think that is is safe to remove these flags altogether for all compilers and
platforms, especially since they are not being used for 64 bit builds. However
I do not want to apply such wide change without agreement from the people on the
mailing list.
Diffstat (limited to 'tcccoff.c')
0 files changed, 0 insertions, 0 deletions
