mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
Fix Makefile weirdness.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2285 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
0feef828e1
commit
240f24e013
2 changed files with 2 additions and 7 deletions
4
Makefile
4
Makefile
|
@ -5,14 +5,14 @@ include config-host.mak
|
||||||
.PHONY: all clean distclean dvi info install install-doc tar tarbin \
|
.PHONY: all clean distclean dvi info install install-doc tar tarbin \
|
||||||
speed test test2 html dvi info
|
speed test test2 html dvi info
|
||||||
|
|
||||||
CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I.
|
CFLAGS+=-Wall -O2 -g -fno-strict-aliasing -I.
|
||||||
ifdef CONFIG_DARWIN
|
ifdef CONFIG_DARWIN
|
||||||
CFLAGS+= -mdynamic-no-pic
|
CFLAGS+= -mdynamic-no-pic
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),sparc)
|
ifeq ($(ARCH),sparc)
|
||||||
CFLAGS+=-mcpu=ultrasparc
|
CFLAGS+=-mcpu=ultrasparc
|
||||||
endif
|
endif
|
||||||
LDFLAGS=-g
|
LDFLAGS+=-g
|
||||||
LIBS=
|
LIBS=
|
||||||
DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||||
TOOLS=qemu-img$(EXESUF)
|
TOOLS=qemu-img$(EXESUF)
|
||||||
|
|
5
configure
vendored
5
configure
vendored
|
@ -243,11 +243,6 @@ for opt do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# Checking for CFLAGS
|
|
||||||
if test -z "$CFLAGS"; then
|
|
||||||
CFLAGS="-O2"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x"$show_help" = x"yes" ; then
|
if test x"$show_help" = x"yes" ; then
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue