We want to pass LIB through configuration files now
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
parent
9b86c9531d
commit
fa5e22cfc0
2
Makefile
2
Makefile
@ -19,7 +19,7 @@ VPATH=$(SRC_PATH):$(SRC_PATH)/hw
|
|||||||
CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@
|
CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@
|
||||||
CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||||
CPPFLAGS += -U_FORTIFY_SOURCE
|
CPPFLAGS += -U_FORTIFY_SOURCE
|
||||||
LIBS=-lz
|
LIBS+=-lz
|
||||||
|
|
||||||
ifdef BUILD_DOCS
|
ifdef BUILD_DOCS
|
||||||
DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8
|
DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8
|
||||||
|
@ -5,7 +5,6 @@ TARGET_PATH=$(SRC_PATH)/target-$(TARGET_BASE_ARCH)
|
|||||||
VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw
|
VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw
|
||||||
CPPFLAGS=-I. -I.. -I$(TARGET_PATH) -I$(SRC_PATH) -MMD -MT $@ -MP -DNEED_CPU_H
|
CPPFLAGS=-I. -I.. -I$(TARGET_PATH) -I$(SRC_PATH) -MMD -MT $@ -MP -DNEED_CPU_H
|
||||||
#CFLAGS+=-Werror
|
#CFLAGS+=-Werror
|
||||||
LIBS=
|
|
||||||
|
|
||||||
ifdef CONFIG_USER_ONLY
|
ifdef CONFIG_USER_ONLY
|
||||||
# user emulator name
|
# user emulator name
|
||||||
|
1
configure
vendored
1
configure
vendored
@ -1748,6 +1748,7 @@ echo "CFLAGS=$CFLAGS" >> $config_host_mak
|
|||||||
echo "LDFLAGS=$LDFLAGS" >> $config_host_mak
|
echo "LDFLAGS=$LDFLAGS" >> $config_host_mak
|
||||||
echo "ARLIBS_BEGIN=$arlibs_begin" >> $config_host_mak
|
echo "ARLIBS_BEGIN=$arlibs_begin" >> $config_host_mak
|
||||||
echo "ARLIBS_END=$arlibs_end" >> $config_host_mak
|
echo "ARLIBS_END=$arlibs_end" >> $config_host_mak
|
||||||
|
echo "LIBS=$LIBS" >> $config_host_mak
|
||||||
echo "EXESUF=$EXESUF" >> $config_host_mak
|
echo "EXESUF=$EXESUF" >> $config_host_mak
|
||||||
echo "PTHREADLIBS=$PTHREADLIBS" >> $config_host_mak
|
echo "PTHREADLIBS=$PTHREADLIBS" >> $config_host_mak
|
||||||
echo "CLOCKLIBS=$CLOCKLIBS" >> $config_host_mak
|
echo "CLOCKLIBS=$CLOCKLIBS" >> $config_host_mak
|
||||||
|
Loading…
Reference in New Issue
Block a user