Changeset View
Changeset View
Standalone View
Standalone View
head/multimedia/ffmpeg/files/patch-configure
--- configure.orig 2017-10-15 15:59:36 UTC | --- configure.orig 2018-04-20 10:02:55 UTC | ||||
+++ configure | +++ configure | ||||
@@ -3371,12 +3371,7 @@ target_os_default=$(tolower $(uname -s)) | @@ -3516,12 +3516,7 @@ target_os_default=$(tolower $(uname -s)) | ||||
host_os=$target_os_default | host_os=$target_os_default | ||||
# machine | # machine | ||||
-if test "$target_os_default" = aix; then | -if test "$target_os_default" = aix; then | ||||
- arch_default=$(uname -p) | - arch_default=$(uname -p) | ||||
- strip_default="strip -X32_64" | - strip_default="strip -X32_64" | ||||
-else | -else | ||||
- arch_default=$(uname -m) | - arch_default=$(uname -m) | ||||
-fi | -fi | ||||
+arch_default=$(uname -p) | +arch_default=$(uname -p) | ||||
cpu="generic" | cpu="generic" | ||||
intrinsics="none" | intrinsics="none" | ||||
@@ -6491,6 +6486,9 @@ elif enabled llvm_gcc; then | |||||
elif enabled clang; then | |||||
check_cflags -mllvm -stack-alignment=16 | |||||
check_cflags -mstack-alignment=16 | |||||
+ if enabled x86_32; then | |||||
+ check_cflags -mstackrealign | |||||
+ fi | |||||
check_cflags -Qunused-arguments | |||||
check_cflags -Werror=implicit-function-declaration | |||||
check_cflags -Werror=missing-prototypes |