Sam Lantinga
|
46fea0e925
|
Ozkan Sezer to slouken
The attached small patch updates SDL's libtoolized files for
pe-x86_64 magic, ie win/x64.
|
2011-01-26 12:23:32 -08:00 |
|
Sam Lantinga
|
c98373bffe
|
Greg Jandl to SDL
I did some digging, and I think I've found a better solution. By
including some additional .m4 macros in the acinclude directory
(http://www.gnu.org/software/autoconf-archive/ax_check_compiler_flags.html,
http://www.gnu.org/software/autoconf-archive/ax_gcc_archflag.html and
http://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpuid.html)
then using the patch below (same as previous patch + one line change
to configure.in), SDL will build correctly out of the box.
The arch can then be overridden by --with-gcc-arch=<arch> (most will
probably want to build with i686 there for general distribution) or
--without-gcc-arch, to disable setting the arch all together.
On my Atom netbook, I get -march=PentiumPro by default, which works
great, as does --with-gcc-arch=i686.
|
2011-01-18 22:40:45 -08:00 |
|
Sam Lantinga
|
a3edbfcc4f
|
A better solution to making the default build optimization -O3
Cygwin32 autoconf complains about c.m4 ... of course. :)
|
2009-10-11 10:38:38 +00:00 |
|
Sam Lantinga
|
e0de9cb1dc
|
Fixed bug #31
Set the default optimization level to -O3
|
2009-10-11 06:44:50 +00:00 |
|
Sam Lantinga
|
a58f375b9d
|
This is crazy. In order to override the default optimization for GCC,
we actually have to include the core autoconf C compiler macro suite.
|
2009-10-11 06:33:34 +00:00 |
|
Sam Lantinga
|
8cdbbc931c
|
MatÄ›j TÃ½Ä 2009-10-05 14:09:03 PDT
patched to comply to the up-to-date autoconf
|
2009-10-10 18:37:35 +00:00 |
|
Sam Lantinga
|
f14c7767f2
|
Split out ltoptions.m4
|
2009-10-04 21:00:33 +00:00 |
|
Sam Lantinga
|
9825e4ebd9
|
Split acinclude.m4 into its constituent parts for easy upgrading
|
2009-10-04 20:44:04 +00:00 |
|