From 9d947f19358a6d094e4d9e6be5da35b919519fef Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Tue, 29 Oct 2002 11:21:43 +0000
Subject: [PATCH] -fomit-frame-pointer is needed for the PIC code

Originally committed as revision 7957 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
---
 postproc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postproc/Makefile b/postproc/Makefile
index 1c2d244ce0f..b1e5940f3d2 100644
--- a/postproc/Makefile
+++ b/postproc/Makefile
@@ -42,7 +42,7 @@ cs_test: $(CS_TEST_OBJS)
 	$(CC) $(CS_TEST_OBJS) -o cs_test
 
 postprocess_pic.o: postprocess.c
-	$(CC) -c $(CFLAGS) -fPIC -DPIC -o $@ $<
+	$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
 
 $(SPPLIB): $(SPPOBJS)
 	$(CC) -shared -Wl,-soname,$(SPPLIB).0 \
-- 
GitLab