summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Orgis2007-02-16 02:51:52 +0100
committerJeremy Blosser2007-02-16 21:19:42 -0600
commit8f552db87b644c555ed4af15a21d3cebcb8b61cf (patch)
tree6e98a3f8a98e08f91fe7334521f7eddc1cdb29ed
parente58aaac7c38d090200817a893b11d59553494cff (diff)
xdirectfb: making the special optimizations ia32 specific
(cherry picked from commit 673f9bc6e55bcf9ee49eb16c324bfc33d72852b9)
-rwxr-xr-xdisplay/xdirectfb/CONFIGURE8
-rw-r--r--display/xdirectfb/HISTORY1
2 files changed, 6 insertions, 3 deletions
diff --git a/display/xdirectfb/CONFIGURE b/display/xdirectfb/CONFIGURE
index e663d2e0d2..65e957aa37 100755
--- a/display/xdirectfb/CONFIGURE
+++ b/display/xdirectfb/CONFIGURE
@@ -1,3 +1,5 @@
-config_query XDFB_MMX "Enable MMX?" n &&
-config_query XDFB_SSE "Enable SSE?" n &&
-config_query XDFB_3DNOW "Enable 3DNow?" n
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "ia32" ]]; then
+ config_query XDFB_MMX "Enable MMX?" n &&
+ config_query XDFB_SSE "Enable SSE?" n &&
+ config_query XDFB_3DNOW "Enable 3DNow?" n
+fi
diff --git a/display/xdirectfb/HISTORY b/display/xdirectfb/HISTORY
index 8383a612ed..b4bbe291cc 100644
--- a/display/xdirectfb/HISTORY
+++ b/display/xdirectfb/HISTORY
@@ -1,6 +1,7 @@
2007-02-15 Thomas Orgis <sobukus@sourcemage.org>
* CONFIGURE, BUILD: make queries for mmx,sse,3dnow instead of
grepping CFLAGS (the -m* flags are gone there)
+ also make that ia32 specific
2006-10-26 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
* INSTALL: use TRACK_ROOT when linking #9163