diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/fcitx-mozc/fcitx-mozc.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/fcitx-mozc/fcitx-mozc.SlackBuild b/misc/fcitx-mozc/fcitx-mozc.SlackBuild index 1f5008c57e..63506f9290 100644 --- a/misc/fcitx-mozc/fcitx-mozc.SlackBuild +++ b/misc/fcitx-mozc/fcitx-mozc.SlackBuild @@ -57,10 +57,6 @@ fi set -e -# paramater of Qt dir. -RCC_LOC=`pkg-config QtCore --variable=rcc_location` -QT4DIR=${RCC_LOC%%/bin/rcc} -QT4I=`pkg-config QtGui --cflags-only-I` BLDTYPE=Release # source rev. and version. @@ -126,14 +122,14 @@ done # build package echo "build package..." -CFLAGS="${CFLAGS} $QT4I -fvisibility=hidden" -CXXFLAGS="${CXXFLAGS} $QT4I -fvisibility=hidden" +CFLAGS="${CFLAGS} -fvisibility=hidden" +CXXFLAGS="${CXXFLAGS} -fvisibility=hidden" cd $BLDBASEDIR/mozc/src _targets="server/server.gyp:mozc_server gui/gui.gyp:mozc_tool unix/fcitx/fcitx.gyp:fcitx-mozc" -QTDIR=$QT4DIR GYP_DEFINES="document_dir=/usr/share/licenses/$pkgname use_libzinnia=1" python2 build_mozc.py gyp +GYP_DEFINES="document_dir=/usr/share/licenses/$pkgname use_libzinnia=1" python2 build_mozc.py gyp --noqt sed -i 's|command = $cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc $cflags_pch_cc -c $in -o $out|command = $cxx -MMD -MF $out.d $defines $includes -D__STRICT_ANSI__ $cflags $cflags_cc $cflags_pch_cc -c $in -o $out|' out_linux/Release/build.ninja python2 build_mozc.py build -c $BLDTYPE $_targets |