diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2005-10-17 22:47:26 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2005-10-17 22:47:26 +0000 |
commit | 3d5f945c06a296c6cbb6fb06a4e0322f53db2cff (patch) | |
tree | 1fc83c697c802e1fb6b821cb06a275719bf558cc | |
parent | 7e367e271f83a0ca391b0c3268070addfafdb805 (diff) | |
download | liboil-3d5f945c06a296c6cbb6fb06a4e0322f53db2cff.tar.gz |
Don't attempt to build powerpc files on non-powerpcs, where the altivec
flags break the compile.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | liboil/powerpc/Makefile.am | 7 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2005-10-17 Eric Anholt <anholt@FreeBSD.org> + + * liboil/powerpc/Makefile.am: + Don't attempt to build powerpc files on non-powerpcs, where the altivec + flags break the compile. + 2005-10-17 David Schleef <ds@schleef.org> * configure.ac: Check for -masm-blocks before using the feature diff --git a/liboil/powerpc/Makefile.am b/liboil/powerpc/Makefile.am index a6f90b4..d50a884 100644 --- a/liboil/powerpc/Makefile.am +++ b/liboil/powerpc/Makefile.am @@ -27,8 +27,15 @@ sources = \ splat.c \ zigzag8x8.c +if HAVE_CPU_POWERPC libpowerpc_la_SOURCES = \ $(asm_block_sources) $(sources) libpowerpc_la_CFLAGS = $(LIBOIL_CFLAGS) -maltivec -mabi=altivec -fasm-blocks +else +libpowerpc_la_SOURCES = \ + empty.c +endif +empty.c: + echo >empty.c |