1
0
forked from 0ad/0ad

Fixed Linux build more

This was SVN commit r6168.
This commit is contained in:
Ykkrosh 2008-07-01 21:43:08 +00:00
parent e3d60ad0b2
commit 49f0feb969
2 changed files with 7 additions and 4 deletions

View File

@ -140,7 +140,10 @@ function package_set_build_flags()
-- do something (?) so that ccache can handle compilation with PCH enabled
"-fpch-preprocess",
-- enable SSE intrinsics
"-msse",
-- speed up math functions by inlining. warning: this may result in
-- non-IEEE-conformant results, but haven't noticed any trouble so far.
"-ffast-math",

View File

@ -26,13 +26,13 @@
#if ARCH_IA32
# include "../ia32/ia32_asm.h"
#else
#include "../amd64/amd64_asm.h"
# endif
# include "../amd64/amd64_asm.h"
#endif
#if MSC_VERSION
# include <intrin.h> // __rdtsc
#elif GCC_VERSION
# include <emmintrin.h>
// (no includes needed)
#else
# error compiler not supported
#endif