summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2010-05-04 19:15:04 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2010-05-04 19:15:04 +0000
commit4df5077c68a698b90fc4571a3bf0b2c0e3d6f4f0 (patch)
treed7da357a4c082eef2ecbb4948eda12a728cb9036 /gnu/usr.bin
parent22479fa11d54345c4fc4e503894d73ebe042699b (diff)
fix .asm handling on powerpc and unify with alpha; ok drahn@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/libgcc/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/gnu/usr.bin/cc/libgcc/Makefile b/gnu/usr.bin/cc/libgcc/Makefile
index 4d678e465da..6f5f4db9d9c 100644
--- a/gnu/usr.bin/cc/libgcc/Makefile
+++ b/gnu/usr.bin/cc/libgcc/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/lib/libgcc/Makefile,v 1.58.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.8 2010/05/04 18:37:00 naddy Exp $
+# $OpenBSD: Makefile,v 1.9 2010/05/04 19:15:03 naddy Exp $
.include <bsd.own.mk>
@@ -305,11 +305,7 @@ beforeinstall:
.SUFFIXES: .vis .vo .asm
-.if ${TARGET_ARCH} == "alpha"
+.if ${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "powerpc"
.asm.o:
${CC_T} ${CFLAGS} -xassembler-with-cpp -o ${.TARGET} ${.IMPSRC}
.endif
-.if ${TARGET_ARCH} == "powerpc"
-.asm.o:
- ${CC_T} ${${T}_CFLAGS} -xassembler-with-cpp -o ${.TARGET} ${.ALLSRC:M*.asm}
-.endif