summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGerd Hoffmann2013-01-04 10:15:53 +0100
committerGerd Hoffmann2013-01-14 12:50:45 +0100
commitf9943cd58f8a053172aa701d79da512ccd10d758 (patch)
tree9ff5d800d1a31c4a9e0b0f5a752f672767290717 /Makefile
parentMerge branch 'target-arm.next' of git://git.linaro.org/people/pmaydell/qemu-arm (diff)
downloadqemu-f9943cd58f8a053172aa701d79da512ccd10d758.tar.gz
qemu-f9943cd58f8a053172aa701d79da512ccd10d758.tar.xz
qemu-f9943cd58f8a053172aa701d79da512ccd10d758.zip
pixman: pass extra cflags and ldflags
Store --extra-cflags and --extra-ldflags in config-host.mak, then pass them on to the pixman configure script. Cc: Scott Wood <scottwood@freescale.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0200bf345c..2286174bcb 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,7 @@ subdir-pixman: pixman/Makefile
$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,)
pixman/Makefile: $(SRC_PATH)/pixman/configure
- (cd pixman; CFLAGS="$(CFLAGS) -fPIC" $(SRC_PATH)/pixman/configure $(AUTOCONF_HOST) --disable-gtk --disable-shared --enable-static)
+ (cd pixman; CFLAGS="$(CFLAGS) -fPIC $(extra_cflags) $(extra_ldflags)" $(SRC_PATH)/pixman/configure $(AUTOCONF_HOST) --disable-gtk --disable-shared --enable-static)
$(SRC_PATH)/pixman/configure:
(cd $(SRC_PATH)/pixman; autoreconf -v --install)