Revision f9943cd5

b/Makefile
126 126
	$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,)
127 127

  
128 128
pixman/Makefile: $(SRC_PATH)/pixman/configure
129
	(cd pixman; CFLAGS="$(CFLAGS) -fPIC" $(SRC_PATH)/pixman/configure $(AUTOCONF_HOST) --disable-gtk --disable-shared --enable-static)
129
	(cd pixman; CFLAGS="$(CFLAGS) -fPIC $(extra_cflags) $(extra_ldflags)" $(SRC_PATH)/pixman/configure $(AUTOCONF_HOST) --disable-gtk --disable-shared --enable-static)
130 130

  
131 131
$(SRC_PATH)/pixman/configure:
132 132
	(cd $(SRC_PATH)/pixman; autoreconf -v --install)
b/configure
240 240
  --cpu=*) cpu="$optarg"
241 241
  ;;
242 242
  --extra-cflags=*) QEMU_CFLAGS="$optarg $QEMU_CFLAGS"
243
                    EXTRA_CFLAGS="$optarg"
243 244
  ;;
244 245
  --extra-ldflags=*) LDFLAGS="$optarg $LDFLAGS"
246
                     EXTRA_LDFLAGS="$optarg"
245 247
  ;;
246 248
  --enable-debug-info) debug_info="yes"
247 249
  ;;
......
3349 3351
echo "qemu_docdir=$qemu_docdir" >> $config_host_mak
3350 3352
echo "qemu_localstatedir=$local_statedir" >> $config_host_mak
3351 3353
echo "qemu_helperdir=$libexecdir" >> $config_host_mak
3354
echo "extra_cflags=$EXTRA_CFLAGS" >> $config_host_mak
3355
echo "extra_ldflags=$EXTRA_LDFLAGS" >> $config_host_mak
3352 3356

  
3353 3357
echo "ARCH=$ARCH" >> $config_host_mak
3354 3358
if test "$debug_tcg" = "yes" ; then

Also available in: Unified diff