Changeset 958


Ignore:
Timestamp:
Aug 10, 2011, 11:26:53 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: gnumake/os2: Disable .sym generation in debug builds by default.

This is because mapsym fails on big map files (e.g. 40M) and since .sym
is not really necessary in debug builds (the executable already contains
debug info within it).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/features/os2/default_post.prf

    r673 r958  
    1010load(default_post)
    1111
     12defineTest(countVal) {
     13    unset(filter)
     14    filter = $$find($$1, $$2)
     15    isEmpty(4):4 = =
     16    count(filter, $$3, $$4):return(true)
     17    return(false)
     18}
     19
    1220build_pass|isEmpty(BUILDS) {
     21
     22    # apply the 'sym' default (unless explicitly added or removed)
     23    !isEmpty(QMAKE_MAPSYM):countVal(CONFIG, sym, 1):CONFIG(debug, debug|release):CONFIG -= sym
    1324
    1425    # convert QMAKE_TARGET_ variables to DEF_FILE_ ones
Note: See TracChangeset for help on using the changeset viewer.