X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fmpeg2enc%2FMakefile;h=ceac3cec3a44f1f3da7a9413a523b3c096f74c6f;hb=4065e5f561f8e5e980a91ea217d8a53eb0c57f39;hp=80e0f8f939f3d38453287f81947fb8dfbcd4123a;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/mpeg2enc/Makefile b/cinelerra-5.1/mpeg2enc/Makefile index 80e0f8f9..ceac3cec 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 += jpt.a +endif + HVEG2LIB = $(OBJDIR)/hveg2enc.a HVEG2ENC = $(OBJDIR)/hveg2enc HVEG2ENC_G = $(OBJDIR)/hveg2enc_g