diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-03 14:46:21 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:39 -0500 |
commit | a558ee17761c3c9ef22792bd5097880ab92f1bf5 (patch) | |
tree | fee2782d1652d2c4610432fd31a666173de77737 /Makefile.hw | |
parent | edc0edf0c6bdaf51a952c333527b0b9c3bf371d6 (diff) |
Rename CPPFLAGS to QEMU_CFLAGS
Now we have to variables: QEMU_CFLAGS: flags without which we can't compile
CFLAGS: "-g -O2"
We can now run:
make CFLAGS="-fbar" foo.o
make CFLAGS="" foo.o
make CFLAGS="-O3" foo.o
And it all should work.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Diffstat (limited to 'Makefile.hw')
-rw-r--r-- | Makefile.hw | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.hw b/Makefile.hw index 131ae51b10..052eb1a365 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -8,9 +8,9 @@ include $(SRC_PATH)/rules.mak VPATH=$(SRC_PATH):$(SRC_PATH)/hw -CPPFLAGS += -I. -I.. -I$(SRC_PATH) -MMD -MP -MT $@ -CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -CPPFLAGS+=-I$(SRC_PATH)/fpu +QEMU_CFLAGS += -I. -I.. -I$(SRC_PATH) -MMD -MP -MT $@ +QEMU_CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE +QEMU_CFLAGS+=-I$(SRC_PATH)/fpu obj-y = obj-y += virtio.o virtio-pci.o |