mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #395 from hasufell/master
Don't hardcode g++ in the toolchain settings
This commit is contained in:
commit
d03d73399d
@ -29,7 +29,7 @@ debug {
|
|||||||
|
|
||||||
################################# Linux ##########################################
|
################################# Linux ##########################################
|
||||||
linux-* {
|
linux-* {
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
}
|
}
|
||||||
|
|
||||||
linux-g++ {
|
linux-g++ {
|
||||||
@ -64,7 +64,7 @@ win32-x-g++ {
|
|||||||
################################# Windows ##########################################
|
################################# Windows ##########################################
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
DEFINES *= STATICLIB WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
|
DEFINES *= STATICLIB WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
|
||||||
@ -89,7 +89,7 @@ win32 {
|
|||||||
################################# MacOSX ##########################################
|
################################# MacOSX ##########################################
|
||||||
|
|
||||||
mac {
|
mac {
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
}
|
}
|
||||||
|
@ -122,7 +122,7 @@ linux-* {
|
|||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
|
|
||||||
QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64
|
QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
|
|
||||||
contains(CONFIG, NO_SQLCIPHER) {
|
contains(CONFIG, NO_SQLCIPHER) {
|
||||||
DEFINES *= NO_SQLCIPHER
|
DEFINES *= NO_SQLCIPHER
|
||||||
@ -225,7 +225,7 @@ win32-x-g++ {
|
|||||||
################################# Windows ##########################################
|
################################# Windows ##########################################
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
|
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
|
||||||
@ -259,7 +259,7 @@ win32 {
|
|||||||
################################# MacOSX ##########################################
|
################################# MacOSX ##########################################
|
||||||
|
|
||||||
mac {
|
mac {
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
#DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW
|
#DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW
|
||||||
|
@ -70,7 +70,7 @@ linux-* {
|
|||||||
|
|
||||||
DESTDIR = lib
|
DESTDIR = lib
|
||||||
QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64
|
QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
|
|
||||||
SSL_DIR = /usr/include/openssl
|
SSL_DIR = /usr/include/openssl
|
||||||
UPNP_DIR = /usr/include/upnp
|
UPNP_DIR = /usr/include/upnp
|
||||||
@ -143,7 +143,7 @@ win32-x-g++ {
|
|||||||
################################# Windows ##########################################
|
################################# Windows ##########################################
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
|
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
|
||||||
@ -188,7 +188,7 @@ win32 {
|
|||||||
################################# MacOSX ##########################################
|
################################# MacOSX ##########################################
|
||||||
|
|
||||||
mac {
|
mac {
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = $${QMAKE_CXX}
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
#DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW
|
#DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW
|
||||||
|
Loading…
Reference in New Issue
Block a user