Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-09-11 12:10:12 +0400
committerMartin Storsjö <martin@martin.st>2012-09-11 17:18:03 +0400
commit6121a3ef7f1572083c9bcdff0e7e024627472364 (patch)
tree16fd702edbea25eef38d21a1ed34c667fab1d6e3 /configure
parentf69f51b3b2820d803fe2279975660c11d334f70c (diff)
configure: Only disable aligned stack on MSVC on 32 bit
On 64 bit, the stack seems to be aligned enough for our needs. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 3bbdc0e038..5afdab9efd 100755
--- a/configure
+++ b/configure
@@ -2330,7 +2330,6 @@ probe_cc(){
if [ $pfx = hostcc ]; then
append _cflags -Dsnprintf=_snprintf
fi
- disable aligned_stack
fi
eval ${pfx}_type=\$_type
@@ -3470,6 +3469,8 @@ elif enabled tms470; then
add_cflags -pds=824 -pds=837
elif enabled pathscale; then
add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
+elif enabled msvc; then
+ enabled x86_32 && disable aligned_stack
fi
enabled_any $THREADS_LIST && enable threads