mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 14:39:34 -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 -= qt
|
||||
TARGET = pegmarkdown
|
||||
QMAKE_CXXFLAGS *= -Wall
|
||||
QMAKE_CFLAGS *= -Wall
|
||||
|
||||
profiling {
|
||||
QMAKE_CXXFLAGS -= -fomit-frame-pointer
|
||||
QMAKE_CXXFLAGS *= -pg -g -fno-omit-frame-pointer
|
||||
}
|
||||
|
||||
release {
|
||||
# not much here yet.
|
||||
}
|
||||
QMAKE_CFLAGS *= -Wall -ansi -D_GNU_SOURCE
|
||||
QMAKE_CC = gcc
|
||||
|
||||
#CONFIG += debug
|
||||
debug {
|
||||
QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
|
||||
QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
|
||||
QMAKE_CFLAGS -= -O2
|
||||
QMAKE_CFLAGS *= -g
|
||||
}
|
||||
|
||||
################################# Linux ##########################################
|
||||
linux-* {
|
||||
DESTDIR = lib
|
||||
QMAKE_CC = g++
|
||||
}
|
||||
|
||||
linux-g++ {
|
||||
@ -44,11 +35,8 @@ win32 {
|
||||
|
||||
# Switch on extra warnings
|
||||
QMAKE_CFLAGS += -Wextra
|
||||
QMAKE_CXXFLAGS += -Wextra
|
||||
|
||||
# Switch off optimization for release version
|
||||
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||
QMAKE_CXXFLAGS_RELEASE += -O0
|
||||
QMAKE_CFLAGS_RELEASE -= -O2
|
||||
QMAKE_CFLAGS_RELEASE += -O0
|
||||
|
||||
@ -58,7 +46,6 @@ win32 {
|
||||
################################# MacOSX ##########################################
|
||||
|
||||
mac {
|
||||
QMAKE_CC = g++
|
||||
OBJECTS_DIR = temp/obj
|
||||
MOC_DIR = temp/moc
|
||||
DESTDIR = lib
|
||||
|
Loading…
Reference in New Issue
Block a user