]> git.pld-linux.org Git - packages/crossmingw32-SDL.git/blobdiff - crossmingw32-SDL.spec
- sane target's optflags for alpha and sparc*
[packages/crossmingw32-SDL.git] / crossmingw32-SDL.spec
index 875e30ba3a901e2ed4d3b20c8716b8f66d8ea0c1..13c95bcdad94ceac99b10b5a05c018654468d071 100644 (file)
@@ -39,6 +39,11 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                __cc            %{target}-gcc
 %define                __cxx           %{target}-g++
 
+%ifarch alpha sparc sparc64 sparcv9
+# alpha's -mieee and sparc's -mtune=* are not valid for target's gcc
+%define                optflags        -O2
+%endif
+
 %description
 SDL (Simple DirectMedia Layer) is a library that allows you portable,
 low level access to a video framebuffer, audio output, mouse, and
This page took 0.227589 seconds and 4 git commands to generate.