[FFmpeg-cvslog] configure: Automatically add more flags required on symbian

Martin Storsjö git at videolan.org
Fri Jul 15 17:58:59 CEST 2011


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Jul 15 10:53:12 2011 +0300| [e3bc07f4af25287fa4ade1e9c5501de65c8a698e] | committer: Martin Storsjö

configure: Automatically add more flags required on symbian

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e3bc07f4af25287fa4ade1e9c5501de65c8a698e
---

 configure |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 596b603..28e3e25 100755
--- a/configure
+++ b/configure
@@ -2499,7 +2499,14 @@ case $target_os in
     symbian)
         SLIBSUF=".dll"
         enable dos_paths
-        add_cflags --include=$sysinclude/gcce/gcce.h
+        add_cflags --include=$sysinclude/gcce/gcce.h -fvisibility=default
+        add_cppflags -D__GCCE__ -D__SYMBIAN32__ -DSYMBIAN_OE_POSIX_SIGNALS
+        add_ldflags -Wl,--target1-abs,--no-undefined \
+                    -Wl,-Ttext,0x80000,-Tdata,0x1000000 -shared \
+                    -Wl,--entry=_E32Startup -Wl,-u,_E32Startup
+        add_extralibs -l:eexe.lib -l:usrt2_2.lib -l:dfpaeabi.dso \
+                      -l:drtaeabi.dso -l:scppnwdl.dso -lsupc++ -lgcc \
+                      -l:libc.dso -l:libm.dso -l:euser.dso -l:libcrt0.lib
         ;;
     none)
         ;;



More information about the ffmpeg-cvslog mailing list