From: sungmin ha Date: Tue, 19 Aug 2014 04:52:41 +0000 (+0900) Subject: build option: fixed -fPIC warning for windows X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50de96a83ca031864bd32638f256b0a50d6b0932;p=sdk%2Femulator%2Fqemu.git build option: fixed -fPIC warning for windows Change-Id: Ia4cbb1505b7165fcc1a0d5ea8628b1c53831753e Signed-off-by: sungmin ha --- diff --git a/configure b/configure index 2a6413dd86..1178c6c29d 100755 --- a/configure +++ b/configure @@ -2098,7 +2098,10 @@ if test "$qt" != "no"; then libs_softmmu="$qt_libs $libs_softmmu" qt_cflags_private=`pkg-config --modversion Qt5Gui` qt_cflags_private=`pkg-config --cflags Qt5Gui | sed "s,QtGui,QtGui/$qt_cflags_private/QtGui,g"` - qt_cflags="$qt_cflags $qt_cflags_private -fPIC" + qt_cflags="$qt_cflags $qt_cflags_private" + if test "$mingw32" = "no" ; then + qt_cflags="$qt_cflags -fPIC" + fi qt="yes" elif test "$qt" = "yes"; then feature_not_found "qt" "Install qt devel" diff --git a/tizen/src/ui/Makefile.objs b/tizen/src/ui/Makefile.objs index c5368e8239..44775becbf 100644 --- a/tizen/src/ui/Makefile.objs +++ b/tizen/src/ui/Makefile.objs @@ -1,5 +1,5 @@ TIZEN_UI = $(SRC_PATH)/tizen/src/ui -QEMU_CFLAGS += -fPIC $(QT_CFLAGS) -I$(TIZEN_UI) +QEMU_CFLAGS += $(QT_CFLAGS) -I$(TIZEN_UI) $(obj)/qrc_resource.o: $(obj)/qrc_resource.cpp $(obj)/qrc_resource.cpp: $(TIZEN_UI)/resource/resource.qrc