mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
adjust unarr flags to be closer to the upstream makefile
This commit is contained in:
parent
7a41bafc17
commit
c4ddd42cd6
@ -16,8 +16,8 @@ win32 {
|
|||||||
unix {
|
unix {
|
||||||
#these flags are probably redundant
|
#these flags are probably redundant
|
||||||
#qmake tends to chose it's own flags and ignores system wide flags on unix
|
#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_CXXFLAGS+= -std=c++11 -O2 -pipe -Wall -fomit-frame-pointer
|
||||||
QMAKE_CFLAGS+= -O2 -pipe -Wall -pthread
|
QMAKE_CFLAGS+= -O2 -pipe -Wall -fomit-frame-pointer
|
||||||
|
|
||||||
#this might need a little tweaking on mac os
|
#this might need a little tweaking on mac os
|
||||||
!CONFIG(unarr){
|
!CONFIG(unarr){
|
||||||
@ -26,9 +26,10 @@ unix {
|
|||||||
else{
|
else{
|
||||||
#make unarr use system zlib and bzip2
|
#make unarr use system zlib and bzip2
|
||||||
#these are pretty much standard on unix
|
#these are pretty much standard on unix
|
||||||
DEFINES += HAVE_ZLIB HAVE_BZIP2
|
DEFINES += HAVE_ZLIB HAVE_BZIP2 NDEBUG
|
||||||
#add zlib and bz2 to libs
|
#add zlib and bz2 to libs
|
||||||
LIBS += -lbz2 -lz
|
#we also need libm for mathematics
|
||||||
|
LIBS += -lbz2 -lz -lm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ int main(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCoreApplication app(argc, argv);
|
//QCoreApplication app(argc, argv);
|
||||||
|
|
||||||
QString s(argv[1]);
|
QString s(argv[1]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user