OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2c05f
)
Detect PathScale compiler
author
Måns Rullgård
<mans@mansr.com>
Tue, 27 Jul 2010 18:55:21 +0000
(18:55 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Tue, 27 Jul 2010 18:55:21 +0000
(18:55 +0000)
Originally committed as revision 24552 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
7e70dfb
..
b6f56ca
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-1934,6
+1934,14
@@
elif $cc -V 2>&1 | grep -q Sun; then
esac
done
}
+elif $cc -v 2>&1 | grep -q PathScale; then
+ cc_type=pathscale
+ cc_version=__PATHSCALE__
+ cc_ident=$($cc -v 2>&1 | head -n1 | tr -d :)
+ CC_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+ AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+ speed_cflags='-O2'
+ size_cflags='-Os'
fi
test -n "$cc_type" && enable $cc_type ||