adjust unarr flags to be closer to the upstream makefile

This commit is contained in:
Felix Kauselmann 2015-04-15 11:05:28 +02:00
parent 7a41bafc17
commit c4ddd42cd6
2 changed files with 6 additions and 5 deletions

View File

@ -16,8 +16,8 @@ win32 {
unix {
#these flags are probably redundant
#qmake tends to chose it's own flags and ignores system wide flags on unix
QMAKE_CXXFLAGS+= -O2 -pipe -Wall -pthread -std=c++11
QMAKE_CFLAGS+= -O2 -pipe -Wall -pthread
QMAKE_CXXFLAGS+= -std=c++11 -O2 -pipe -Wall -fomit-frame-pointer
QMAKE_CFLAGS+= -O2 -pipe -Wall -fomit-frame-pointer
#this might need a little tweaking on mac os
!CONFIG(unarr){
@ -26,9 +26,10 @@ unix {
else{
#make unarr use system zlib and bzip2
#these are pretty much standard on unix
DEFINES += HAVE_ZLIB HAVE_BZIP2
DEFINES += HAVE_ZLIB HAVE_BZIP2 NDEBUG
#add zlib and bz2 to libs
LIBS += -lbz2 -lz
#we also need libm for mathematics
LIBS += -lbz2 -lz -lm
}
}

View File

@ -25,7 +25,7 @@ int main(int argc, char *argv[])
return 0;
}
QCoreApplication app(argc, argv);
//QCoreApplication app(argc, argv);
QString s(argv[1]);