From 24a16a4ac9e74cc0db5f6304168c647f80668fba Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 19 Feb 2004 18:30:11 +0000 Subject: [PATCH] - sane target's optflags for alpha and sparc* Changed files: crossmingw32-SDL.spec -> 1.10 --- crossmingw32-SDL.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crossmingw32-SDL.spec b/crossmingw32-SDL.spec index 875e30b..13c95bc 100644 --- a/crossmingw32-SDL.spec +++ b/crossmingw32-SDL.spec @@ -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 -- 2.43.0