Commit graph

8 commits

Author SHA1 Message Date
Sam Lantinga
9edcf9bc9b 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
b3dd448c5c 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
c1665b6a55 A better solution to making the default build optimization -O3
Cygwin32 autoconf complains about c.m4 ... of course. :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404054
2009-10-11 10:38:38 +00:00
Sam Lantinga
fd8af66fe2 Fixed bug #31
Set the default optimization level to -O3

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404050
2009-10-11 06:44:50 +00:00
Sam Lantinga
10a4894433 This is crazy. In order to override the default optimization for GCC,
we actually have to include the core autoconf C compiler macro suite.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404048
2009-10-11 06:33:34 +00:00
Sam Lantinga
345698f187 Matěj Týč 2009-10-05 14:09:03 PDT
patched to comply to the up-to-date autoconf

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404046
2009-10-10 18:37:35 +00:00
Sam Lantinga
1932964202 Split out ltoptions.m4
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403973
2009-10-04 21:00:33 +00:00
Sam Lantinga
79a1a3cee0 Split acinclude.m4 into its constituent parts for easy upgrading
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403969
2009-10-04 20:44:04 +00:00