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.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.