mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
switched compiler to gcc in general.
removed CXX references, as it is all C files. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5960 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
30b48c59ef
commit
b54e1d4bc4
@ -2,28 +2,19 @@ TEMPLATE = lib
|
|||||||
CONFIG += staticlib
|
CONFIG += staticlib
|
||||||
CONFIG -= qt
|
CONFIG -= qt
|
||||||
TARGET = pegmarkdown
|
TARGET = pegmarkdown
|
||||||
QMAKE_CXXFLAGS *= -Wall
|
|
||||||
QMAKE_CFLAGS *= -Wall
|
|
||||||
|
|
||||||
profiling {
|
QMAKE_CFLAGS *= -Wall -ansi -D_GNU_SOURCE
|
||||||
QMAKE_CXXFLAGS -= -fomit-frame-pointer
|
QMAKE_CC = gcc
|
||||||
QMAKE_CXXFLAGS *= -pg -g -fno-omit-frame-pointer
|
|
||||||
}
|
|
||||||
|
|
||||||
release {
|
|
||||||
# not much here yet.
|
|
||||||
}
|
|
||||||
|
|
||||||
#CONFIG += debug
|
#CONFIG += debug
|
||||||
debug {
|
debug {
|
||||||
QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
|
QMAKE_CFLAGS -= -O2
|
||||||
QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
|
QMAKE_CFLAGS *= -g
|
||||||
}
|
}
|
||||||
|
|
||||||
################################# Linux ##########################################
|
################################# Linux ##########################################
|
||||||
linux-* {
|
linux-* {
|
||||||
DESTDIR = lib
|
DESTDIR = lib
|
||||||
QMAKE_CC = g++
|
|
||||||
}
|
}
|
||||||
|
|
||||||
linux-g++ {
|
linux-g++ {
|
||||||
@ -44,11 +35,8 @@ win32 {
|
|||||||
|
|
||||||
# Switch on extra warnings
|
# Switch on extra warnings
|
||||||
QMAKE_CFLAGS += -Wextra
|
QMAKE_CFLAGS += -Wextra
|
||||||
QMAKE_CXXFLAGS += -Wextra
|
|
||||||
|
|
||||||
# Switch off optimization for release version
|
# Switch off optimization for release version
|
||||||
QMAKE_CXXFLAGS_RELEASE -= -O2
|
|
||||||
QMAKE_CXXFLAGS_RELEASE += -O0
|
|
||||||
QMAKE_CFLAGS_RELEASE -= -O2
|
QMAKE_CFLAGS_RELEASE -= -O2
|
||||||
QMAKE_CFLAGS_RELEASE += -O0
|
QMAKE_CFLAGS_RELEASE += -O0
|
||||||
|
|
||||||
@ -58,7 +46,6 @@ win32 {
|
|||||||
################################# MacOSX ##########################################
|
################################# MacOSX ##########################################
|
||||||
|
|
||||||
mac {
|
mac {
|
||||||
QMAKE_CC = g++
|
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
DESTDIR = lib
|
DESTDIR = lib
|
||||||
|
Loading…
Reference in New Issue
Block a user