Move determination of AIOLIBS until after all configure options have been
handled. By Carlos O'Donell. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2539 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a39437aa1d
commit
209afb9e0d
12
configure
vendored
12
configure
vendored
@ -159,12 +159,6 @@ if [ "$bsd" = "yes" ] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then
|
||||
AIOLIBS=
|
||||
else
|
||||
AIOLIBS="-lrt"
|
||||
fi
|
||||
|
||||
# find source path
|
||||
source_path=`dirname "$0"`
|
||||
if [ -z "$source_path" ]; then
|
||||
@ -260,6 +254,12 @@ for opt do
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then
|
||||
AIOLIBS=
|
||||
else
|
||||
AIOLIBS="-lrt"
|
||||
fi
|
||||
|
||||
# default flags for all hosts
|
||||
CFLAGS="$CFLAGS -Wall -O2 -g -fno-strict-aliasing"
|
||||
LDFLAGS="$LDFLAGS -g"
|
||||
|
Loading…
Reference in New Issue
Block a user