From 48679d63a68637195acf14fff706c613f17d7e50 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <guest@slax.example.net>
Date: Fri, 15 Apr 2022 18:37:32 +0300
Subject: [PATCH 2/3] Fix i686 build on gcc 5

---
 cinelerra-5.1/mpeg2enc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cinelerra-5.1/mpeg2enc/Makefile b/cinelerra-5.1/mpeg2enc/Makefile
index 54fd1a3..f517e52 100644
--- a/cinelerra-5.1/mpeg2enc/Makefile
+++ b/cinelerra-5.1/mpeg2enc/Makefile
@@ -7,7 +7,7 @@ CC = gcc
 CFLAGS += -I$(TOPDIR)/libzmpeg3
 
 ifeq ($(OBJDIR), i686)
-CFLAGS += -DX86_CPU
+CFLAGS += -DX86_CPU -march=i686 -mcpu=i686 -fomit-frame-pointer
 NASMOBJ = \
 	$(OBJDIR)/bdist1_mmx.o \
 	$(OBJDIR)/bdist2_mmx.o \
-- 
2.14.5

