Commit b2167b01 authored by Tristan Cavelier's avatar Tristan Cavelier

xxx fPIC on CXX_FLAGS

parent 657887e4
...@@ -36,7 +36,7 @@ configure-command = ...@@ -36,7 +36,7 @@ configure-command =
# echo 'QMAKESPEC = ${qmake:location}/mkspecs/linux-g++' >> Comment/3dParty/cryptopp/project/cryptopp.pro # echo 'QMAKESPEC = ${qmake:location}/mkspecs/linux-g++' >> Comment/3dParty/cryptopp/project/cryptopp.pro
sed 's,\(include($$PWD/OfficeUtils.pri)\)),\1,g' -i OfficeUtils/OfficeUtils.pro || exit 1 sed 's,\(include($$PWD/OfficeUtils.pri)\)),\1,g' -i OfficeUtils/OfficeUtils.pro || exit 1
sed 's,\$\$SOURCES_UTILS,'"$PWD/OfficeUtils/src,g" -i OfficeUtils/OfficeUtils.pri || exit 1 sed 's,\$\$SOURCES_UTILS,'"$PWD/OfficeUtils/src,g" -i OfficeUtils/OfficeUtils.pri || exit 1
sed 's@-spec \([^ ]\+\)@-spec ${qmake:location}/mkspecs/\1 "QMAKE_CXXFLAGS += -std=c++11 -I${zlib:location}/include -Wl,-rpath=${zlib:location}/lib" "QMAKE_LFLAGS += -fPIC"@g' -i Makefile || exit 1 sed 's@-spec \([^ ]\+\)@-spec ${qmake:location}/mkspecs/\1 "QMAKE_CXXFLAGS += -std=c++11 -fPIC -I${zlib:location}/include -Wl,-rpath=${zlib:location}/lib"@g' -i Makefile || exit 1
( cd Common/3dParty && ./make.sh ) || exit 1 ( cd Common/3dParty && ./make.sh ) || exit 1
# cp -rnt DesktopEditor/doctrenderer ${nodejs-4:location}/include/node/* # cp -rnt DesktopEditor/doctrenderer ${nodejs-4:location}/include/node/*
# echo 'QMAKE_CXXFLAGS += -std=c++11' >> PdfWriter/PdfWriter.pro # echo 'QMAKE_CXXFLAGS += -std=c++11' >> PdfWriter/PdfWriter.pro
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment