summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2005-03-17 20:04:13 +0000
committerDavid Schleef <ds@schleef.org>2005-03-17 20:04:13 +0000
commit05f810b841db9fdd184f10279d992fecdfd9b102 (patch)
tree73954c1c81b72bc7c7249f9450a6058f41883e2b
parente48ec6dea60c33d181c5c247d941d104f4229a2f (diff)
downloadliboil-05f810b841db9fdd184f10279d992fecdfd9b102.tar.gz
* examples/work/Makefile.am: yet another random change
* examples/work/work.c: (main): same * liboil/liboilcpu.c: (test_altivec): powerpc fixes * liboil/simdpack/Makefile.am: remove i386 flags
-rw-r--r--ChangeLog7
-rw-r--r--examples/work/Makefile.am2
-rw-r--r--examples/work/work.c2
-rw-r--r--liboil/liboilcpu.c3
-rw-r--r--liboil/simdpack/Makefile.am8
5 files changed, 15 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index f12e5cc..3e3bfa6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2005-03-17 David Schleef <ds@schleef.org>
+ * examples/work/Makefile.am: yet another random change
+ * examples/work/work.c: (main): same
+ * liboil/liboilcpu.c: (test_altivec): powerpc fixes
+ * liboil/simdpack/Makefile.am: remove i386 flags
+
+2005-03-17 David Schleef <ds@schleef.org>
+
* doc/liboil.types: add
2005-03-17 David Schleef <ds@schleef.org>
diff --git a/examples/work/Makefile.am b/examples/work/Makefile.am
index a0474dc..4ff1f58 100644
--- a/examples/work/Makefile.am
+++ b/examples/work/Makefile.am
@@ -5,7 +5,7 @@ else
noinst_PROGRAMS =
endif
-work_SOURCES = work.c conv.c
+work_SOURCES = work.c
AM_LDFLAGS = $(LIBOIL_LIBS) $(GLIB_LIBS)
diff --git a/examples/work/work.c b/examples/work/work.c
index 79027e5..c1032d6 100644
--- a/examples/work/work.c
+++ b/examples/work/work.c
@@ -167,7 +167,7 @@ int main (int argc, char *argv[])
oil_init ();
- register_impls();
+ //register_impls();
klass = oil_class_get (klass_name);
if (klass == NULL) {
diff --git a/liboil/liboilcpu.c b/liboil/liboilcpu.c
index 5ff2fa1..1dcb308 100644
--- a/liboil/liboilcpu.c
+++ b/liboil/liboilcpu.c
@@ -30,6 +30,7 @@
#endif
#include <liboil/liboilfunction.h>
#include <liboil/liboildebug.h>
+#include <liboil/liboilcpu.h>
#include <unistd.h>
#include <fcntl.h>
@@ -127,7 +128,7 @@ oil_cpu_i386_getflags(void)
#ifdef __powerpc__
static void
-test_altivec (void *)
+test_altivec (void * ignored)
{
char x[16] = { 0, };
diff --git a/liboil/simdpack/Makefile.am b/liboil/simdpack/Makefile.am
index c1c6bbb..659bd2e 100644
--- a/liboil/simdpack/Makefile.am
+++ b/liboil/simdpack/Makefile.am
@@ -37,9 +37,9 @@ else
i386_sources =
endif
-libsimdpack_la_abs_sse_o_CFLAGS = -msse
-libsimdpack_la_scalaradd_o_CFLAGS = -mmmx
-libsimdpack_la_vectoradd_s_o_CFLAGS = -mmmx -msse
+#libsimdpack_la_abs_sse_o_CFLAGS = -msse
+#libsimdpack_la_scalaradd_o_CFLAGS = -mmmx
+#libsimdpack_la_vectoradd_s_o_CFLAGS = -mmmx -msse
if HAVE_CPU_POWERPC
powerpc_sources = \
@@ -56,7 +56,7 @@ libsimdpack_la_SOURCES = \
$(c_sources) $(i386_sources) $(powerpc_sources)
libsimdpack_la_LIBADD = \
$(opt_libs)
-libsimdpack_la_CFLAGS = $(LIBOIL_CFLAGS) -mmmx -msse
+libsimdpack_la_CFLAGS = $(LIBOIL_CFLAGS)
noinst_HEADERS = \
simdpack.h