From 64b732c9084955320bcbb3527018fabe31cde853 Mon Sep 17 00:00:00 2001 From: ahze Date: Fri, 14 Jan 2005 02:38:21 +0000 Subject: Attempt to fix build on amd64 Reported by: pointyhat via kris --- multimedia/x264-devel/Makefile | 6 ++++-- multimedia/x264/Makefile | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'multimedia') diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile index 58bb4b83ab46..54fbef20ff70 100644 --- a/multimedia/x264-devel/Makefile +++ b/multimedia/x264-devel/Makefile @@ -34,15 +34,17 @@ OPTIONS= DEBUG "Enable Debugging" Off \ .include -.if ${ARCH}=="i386" || ${ARCH}=="amd64" +.if ${ARCH}=="i386" CFLAGS+=-DARCH_X86 +.endif + .if ${MACHINE_CPU:Mmmx} CFLAGS+=-DHAVE_MMXEXT .endif + .if ${MACHINE_CPU:Msse} CFLAGS+=-DHAVE_SSE2 .endif -.endif .if defined(WITH_DEBUG) CFLAGS+= -g -DDEBUG diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile index 58bb4b83ab46..54fbef20ff70 100644 --- a/multimedia/x264/Makefile +++ b/multimedia/x264/Makefile @@ -34,15 +34,17 @@ OPTIONS= DEBUG "Enable Debugging" Off \ .include -.if ${ARCH}=="i386" || ${ARCH}=="amd64" +.if ${ARCH}=="i386" CFLAGS+=-DARCH_X86 +.endif + .if ${MACHINE_CPU:Mmmx} CFLAGS+=-DHAVE_MMXEXT .endif + .if ${MACHINE_CPU:Msse} CFLAGS+=-DHAVE_SSE2 .endif -.endif .if defined(WITH_DEBUG) CFLAGS+= -g -DDEBUG -- cgit