# HG changeset patch # User koda # Date 1255785589 0 # Node ID 7fc37a16f40513dbbf00788076fd44a701f484da # Parent 42986b9ebc740dfd8d6336695ae42b01ecc95fea dep fix diff -r 42986b9ebc74 -r 7fc37a16f405 QTfrontend/main.cpp --- a/QTfrontend/main.cpp Sat Oct 17 13:11:07 2009 +0000 +++ b/QTfrontend/main.cpp Sat Oct 17 13:19:49 2009 +0000 @@ -24,8 +24,6 @@ #include #include -char *programname; - #include "hwform.h" #include "hwconsts.h" @@ -44,10 +42,7 @@ return true; } -int main(int argc, char *argv[]) { - - programname = argv[0]; - +int main(int argc, char *argv[]) { QApplication app(argc, argv); QStringList arguments = app.arguments(); diff -r 42986b9ebc74 -r 7fc37a16f405 hedgewars/CMakeLists.txt --- a/hedgewars/CMakeLists.txt Sat Oct 17 13:11:07 2009 +0000 +++ b/hedgewars/CMakeLists.txt Sat Oct 17 13:19:49 2009 +0000 @@ -101,7 +101,7 @@ set(pascal_compiler_flags "-fPIC" "-CfSSE2" ${pascal_compiler_flags}) #instruction set for ppc is 7400 endif() else(OPTIMIZATIONS) - set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-dDEBUG" "-pg" "-va" ${pascal_compiler_flags}) + set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-pg" "-va" ${pascal_compiler_flags}) endif(OPTIMIZATIONS) if(LOWRES) diff -r 42986b9ebc74 -r 7fc37a16f405 project_files/hedgewars.pro --- a/project_files/hedgewars.pro Sat Oct 17 13:11:07 2009 +0000 +++ b/project_files/hedgewars.pro Sat Oct 17 13:19:49 2009 +0000 @@ -27,6 +27,5 @@ INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers CONFIG += warn_on x86 - hedgewars.commands = echo "REMEMBER TO INSERT hwconst.cpp IN SOURCE DIRECTORY" #CONFIG += x86 ppc x86_64 ppc64 }