X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fmpeg2enc%2FMakefile;h=f517e52f68093d6fa98a9b428b336c4e254cfc50;hb=21f715f2d24d38bd7a0eccb22d64cdf18f0e3df9;hp=80e0f8f939f3d38453287f81947fb8dfbcd4123a;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/mpeg2enc/Makefile b/cinelerra-5.1/mpeg2enc/Makefile index 80e0f8f9..f517e52f 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 \ @@ -56,6 +56,13 @@ OBJ = \ LIBS := $(LIBZMPEG3)/$(OBJDIR)/libzmpeg3.a LIBS += $(libraries) +ifeq ($(WANT_CIN_3RDPARTY),no) +LIBS += -la52 +endif +ifeq ($(shell uname -o), Android) +LIBS += ../libbthread-master/jpt.a +endif + HVEG2LIB = $(OBJDIR)/hveg2enc.a HVEG2ENC = $(OBJDIR)/hveg2enc HVEG2ENC_G = $(OBJDIR)/hveg2enc_g