Revision 8182dc34

View differences:

configure
1373 1373
strip="strip"
1374 1374
yasmexe="yasm"
1375 1375

  
1376
nm_opts='-g'
1377

  
1376 1378
# machine
1377 1379
arch=$(uname -m)
1378 1380
cpu="generic"
......
2020 2022
        enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
2021 2023
        network_extralibs="-lsocket -lnsl"
2022 2024
        add_cppflags -D__EXTENSIONS__
2025
        nm_opts='-P -g'
2023 2026
        ;;
2024 2027
    netbsd)
2025 2028
        oss_indev_extralibs="-lossaudio"
......
2225 2228
check_cc <<EOF || die "Symbol mangling check failed."
2226 2229
int ff_extern;
2227 2230
EOF
2228
sym=$($nm -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
2231
sym=$($nm $nm_opts $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
2229 2232
extern_prefix=${sym%%ff_extern*}
2230 2233

  
2231 2234
check_cc <<EOF && enable inline_asm

Also available in: Unified diff