OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1e4b3f
)
Add CFLAGS needed by PathScale compiler
author
Mans Rullgard
<mans@mansr.com>
Sun, 23 Jan 2011 23:13:33 +0000
(23:13 +0000)
committer
Mans Rullgard
<mans@mansr.com>
Mon, 24 Jan 2011 01:59:15 +0000
(
01:59
+0000)
The PathScale compiler miscompiles wrapping arithmetic without
these flags.
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
4c24152
..
7854659
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-2987,6
+2987,8
@@
elif enabled armcc; then
add_cflags -W${armcc_opt},--diag_suppress=3343 # hardfp compat
elif enabled tms470; then
add_cflags -pds=824 -pds=837
+elif enabled pathscale; then
+ add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
fi
enabled_any $THREADS_LIST && enable threads