diff --git a/supportlibs/pegmarkdown/pegmarkdown.pro b/supportlibs/pegmarkdown/pegmarkdown.pro index 9ae9d594c..3894d92fb 100644 --- a/supportlibs/pegmarkdown/pegmarkdown.pro +++ b/supportlibs/pegmarkdown/pegmarkdown.pro @@ -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