mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
build: Drop support for Tru64 Unix (OSF/1)
This proprietary Unix flavor dropped from the face of the earth more than a decade ago. Nothing of value was lost.
This commit is contained in:
parent
ab6422e133
commit
09c98327b9
42
configure
vendored
42
configure
vendored
@ -3158,24 +3158,6 @@ armasm_flags(){
|
||||
done
|
||||
}
|
||||
|
||||
ccc_flags(){
|
||||
for flag; do
|
||||
case $flag in
|
||||
-std=c99) echo -c99 ;;
|
||||
-mcpu=*) echo -arch ${flag#*=} ;;
|
||||
-mieee) echo -ieee ;;
|
||||
-O*|-fast) echo $flag ;;
|
||||
-fno-math-errno) echo -assume nomath_errno ;;
|
||||
-g) echo -g3 ;;
|
||||
-Wall) echo -msg_enable level2 ;;
|
||||
-Wno-pointer-sign) echo -msg_disable ptrmismatch1 ;;
|
||||
-Wl,*) echo $flag ;;
|
||||
-f*|-W*) ;;
|
||||
*) echo $flag ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
cparser_flags(){
|
||||
for flag; do
|
||||
case $flag in
|
||||
@ -3358,13 +3340,6 @@ probe_cc(){
|
||||
_ident=$($_cc -qversion 2>/dev/null | head -n1)
|
||||
_cflags_speed='-O5'
|
||||
_cflags_size='-O5 -qcompact'
|
||||
elif $_cc -V 2>/dev/null | grep -q Compaq; then
|
||||
_type=ccc
|
||||
_ident=$($_cc -V | head -n1 | cut -d' ' -f1-3)
|
||||
_DEPFLAGS='-M'
|
||||
_cflags_speed='-fast'
|
||||
_cflags_size='-O1'
|
||||
_flags_filter=ccc_flags
|
||||
elif $_cc --vsn 2>/dev/null | grep -Eq "ARM (C/C\+\+ )?Compiler"; then
|
||||
test -d "$sysroot" || die "No valid sysroot specified."
|
||||
_type=armcc
|
||||
@ -4156,9 +4131,6 @@ case $target_os in
|
||||
-l:drtaeabi.dso -l:scppnwdl.dso -lsupc++ -lgcc \
|
||||
-l:libc.dso -l:libm.dso -l:euser.dso -l:libcrt0.lib
|
||||
;;
|
||||
osf1)
|
||||
add_cppflags -D_OSF_SOURCE -D_POSIX_PII -D_REENTRANT
|
||||
;;
|
||||
minix)
|
||||
;;
|
||||
none)
|
||||
@ -4269,8 +4241,6 @@ case $libc_type in
|
||||
add_cppflags -D__builtin_memset=memset
|
||||
add_cppflags -D__gnuc_va_list=va_list -D_VA_LIST_DEFINED
|
||||
add_cflags -pds=48 # incompatible redefinition of macro
|
||||
elif enabled ccc; then
|
||||
add_ldflags -Wl,-z,now # calls to libots crash without this
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
@ -5114,12 +5084,6 @@ if enabled icc; then
|
||||
check_cflags -falign-stack=maintain-16-byte ||
|
||||
disable aligned_stack
|
||||
fi
|
||||
elif enabled ccc; then
|
||||
# disable some annoying warnings
|
||||
add_cflags -msg_disable bitnotint
|
||||
add_cflags -msg_disable mixfuncvoid
|
||||
add_cflags -msg_disable nonstandcast
|
||||
add_cflags -msg_disable unsupieee
|
||||
elif enabled gcc; then
|
||||
check_optflags -fno-tree-vectorize
|
||||
check_cflags -Werror=implicit-function-declaration
|
||||
@ -5208,12 +5172,6 @@ case $ld_type in
|
||||
;;
|
||||
esac
|
||||
|
||||
case $target_os in
|
||||
osf1)
|
||||
enabled ccc && add_ldflags '-Wl,-expect_unresolved,*'
|
||||
;;
|
||||
esac
|
||||
|
||||
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
|
||||
|
||||
check_deps $CONFIG_LIST \
|
||||
|
@ -192,11 +192,6 @@ union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias;
|
||||
# define AV_RN(s, p) (((const union unaligned_##s *) (p))->l)
|
||||
# define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v))
|
||||
|
||||
#elif defined(__DECC)
|
||||
|
||||
# define AV_RN(s, p) (*((const __unaligned uint##s##_t*)(p)))
|
||||
# define AV_WN(s, p, v) (*((__unaligned uint##s##_t*)(p)) = (v))
|
||||
|
||||
#elif defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_X64)) && AV_HAVE_FAST_UNALIGNED
|
||||
|
||||
# define AV_RN(s, p) (*((const __unaligned uint##s##_t*)(p)))
|
||||
|
Loading…
Reference in New Issue
Block a user