mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
do not pass bogus $(SRC_PATH) include paths to cc during configure
Non-existent -I paths are dropped silently by the compiler, but still it is not polite to pass bogus options. Configure-time tests do not need any include files from the source path, so only include -I flags at make time (when they're properly expanded). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
8d05095cec
commit
f9728943ff
3 changed files with 16 additions and 12 deletions
|
@ -7,7 +7,8 @@ QEMU=../i386-linux-user/qemu-i386
|
|||
QEMU_X86_64=../x86_64-linux-user/qemu-x86_64
|
||||
CC_X86_64=$(CC_I386) -m64
|
||||
|
||||
CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I..
|
||||
QEMU_INCLUDES += -I..
|
||||
CFLAGS=-Wall -O2 -g -fno-strict-aliasing
|
||||
#CFLAGS+=-msse2
|
||||
LDFLAGS=
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue