build option: fixed -fPIC warning for windows 75/26175/1
authorsungmin ha <sungmin82.ha@samsung.com>
Tue, 19 Aug 2014 04:52:41 +0000 (13:52 +0900)
committersungmin ha <sungmin82.ha@samsung.com>
Tue, 19 Aug 2014 04:57:38 +0000 (13:57 +0900)
Change-Id: Ia4cbb1505b7165fcc1a0d5ea8628b1c53831753e
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
configure
tizen/src/ui/Makefile.objs

index 2a6413dd864601c735edf0d8e34206f91e55c067..1178c6c29dbca1f593689e4c8b991c498110ee9f 100755 (executable)
--- 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"
index c5368e82390f8bada6f9ca95779ba1b7ab9dc43f..44775becbf93612ab3a4d5a077ed18d4de01b028 100644 (file)
@@ -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