Fixed compile of the libraries with MinGW 4.8 on Windows.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-10-07 23:11:10 +00:00
parent 9b8d597c0d
commit 13e7ac8b43
11 changed files with 26 additions and 20 deletions

View file

@ -1,14 +1,14 @@
TEMPLATE = lib
CONFIG = staticlib debug
CONFIG += staticlib debug
DEFINES *= OPENSSL_NO_IDEA
QMAKE_CXXFLAGS *= -Wall -Werror -W
QMAKE_CXXFLAGS *= -Wall -Werror -W
TARGET = ops
DESTDIR = lib
DEPENDPATH += .
INCLUDEPATH += .
INCLUDEPATH += .
#################################### Windows #####################################
@ -17,6 +17,8 @@ linux-* {
}
win32 {
DEFINES *= WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
# Switch off optimization for release version
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE += -O0