aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-07-15 10:53:12 +0300
committerMartin Storsjö <martin@martin.st>2011-07-15 16:09:03 +0300
commite3bc07f4af25287fa4ade1e9c5501de65c8a698e (patch)
treeec1f53edd00251bb87b70568ffb8164841f5caed
parent66f6bab7ad2034672f3c6fe9602b59fe291d2d60 (diff)
downloadffmpeg-e3bc07f4af25287fa4ade1e9c5501de65c8a698e.tar.gz
configure: Automatically add more flags required on symbian
Signed-off-by: Martin Storsjö <martin@martin.st>
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index 596b6039e3..28e3e25f18 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)
;;