Mercurial > mplayer.hg
comparison configure @ 34040:02ffd25c7733
configure: drop extra standard compiler/linker flags for *BSD systems
Adding the standard library locations to the search path is doubtful
behavior and unnecessary at least on FreeBSD.
author | diego |
---|---|
date | Fri, 23 Sep 2011 16:08:15 +0000 |
parents | 422eb76aee70 |
children | 563038925442 |
comparison
equal
deleted
inserted
replaced
34039:4282458d64bc | 34040:02ffd25c7733 |
---|---|
1504 | 1504 |
1505 extra_cflags="-I. -Iffmpeg $extra_cflags" | 1505 extra_cflags="-I. -Iffmpeg $extra_cflags" |
1506 extra_ldflags="-lm $extra_ldflags" | 1506 extra_ldflags="-lm $extra_ldflags" |
1507 _timer=timer-linux.c | 1507 _timer=timer-linux.c |
1508 _getch=getch2.c | 1508 _getch=getch2.c |
1509 if freebsd ; then | |
1510 extra_ldflags="$extra_ldflags -L/usr/local/lib" | |
1511 extra_cflags="$extra_cflags -I/usr/local/include" | |
1512 fi | |
1513 | |
1514 if netbsd || dragonfly ; then | |
1515 extra_ldflags="$extra_ldflags -L/usr/pkg/lib" | |
1516 extra_cflags="$extra_cflags -I/usr/pkg/include" | |
1517 fi | |
1518 | 1509 |
1519 if darwin; then | 1510 if darwin; then |
1520 extra_cflags="-mdynamic-no-pic $extra_cflags" | 1511 extra_cflags="-mdynamic-no-pic $extra_cflags" |
1521 if test "$(basename $_cc)" != "clang" ; then | 1512 if test "$(basename $_cc)" != "clang" ; then |
1522 extra_cflags="-falign-loops=16 -shared-libgcc $extra_cflags" | 1513 extra_cflags="-falign-loops=16 -shared-libgcc $extra_cflags" |