Changeset 201 for trunk/qmake


Ignore:
Timestamp:
Jun 19, 2011, 8:27:54 PM (14 years ago)
Author:
rudi
Message:

Allow to use the Watcom linker WL.EXE bundled with "newer" GCCs. Also increased library page size and set CPU instuction set and optimisation.

Location:
trunk/qmake
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/Makefile.os2-g++

    r8 r201  
    33#
    44CXX         =   g++
    5 CFLAGS      =   -c -o$@ -O -s -Zomf \
     5CFLAGS      =   -c -o$@ -O -s -Zomf -march=i486 -mcpu=i686 \
    66                -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\os2 -Igenerators\mac -I..\include -I..\src\tools \
    77                -I..\mkspecs\os2-g++ \
    88                -DQT_NO_TEXTCODEC -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DHAVE_QCONFIG_CPP
    99CXXFLAGS    =   $(CFLAGS)
    10 LFLAGS      =   -s -Zomf -Zstack 0x2000 -Zlinker /PM:VIO -Zlinker /EXEPACK:2
     10LFLAGS      =   -s -Zomf -Zstack 0x2000 -Zlinker /PM:VIO
     11
     12ifeq ($(EMXOMFLD_TYPE),WLINK)
     13    EXEPACK = && lxlite /B- qmake.exe
     14else
     15    LFLAGS += -Zlinker /EXEPACK:2
     16endif
     17
    1118LIBS        =   -lregistry.dll
    12 LINKQMAKE   =   g++ $(LFLAGS) -o qmake.exe $(OBJS) $(QTOBJS) $(LIBS)
     19LINKQMAKE   =   g++ $(LFLAGS) -o qmake.exe $(OBJS) $(QTOBJS) $(LIBS) $(EXEPACK)
    1320ADDCLEAN    =
    1421
  • trunk/qmake/generators/os2/gnumake.cpp

    r152 r201  
    253253        if ( !project->isEmpty( "RES_FILE" ) && !project->isEmpty( "QMAKE_RUN_RC_EXE" ) )
    254254            t << "\n\t" << var("QMAKE_RUN_RC_EXE");
     255        if ( !project->variables()["QMAKE_POST_LINK"].isEmpty() )
     256            t << "\n\t" << var( "QMAKE_POST_LINK" );
    255257        if ( project->isActiveConfig("dll") && !project->isEmpty( "QMAKE_RUN_IMPLIB" ) )
    256258            t << "\n\t" << var( "QMAKE_RUN_IMPLIB" );
Note: See TracChangeset for help on using the changeset viewer.