Changeset 13129

Show
Ignore:
Timestamp:
11/28/07 10:27:21 (6 months ago)
Author:
mloskot
Message:

Fixed compilation (only) flags for debug and profiling mode (Ticket #1929, work in progress)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/GDALmake.opt.in

    r13124 r13129  
    3131C_OPTFLAGS =    @CFLAGS@ 
    3232# Flags to build debug version 
    33 CXX_DBGFLAGS =  -g -DDEBUG  
    34 C_DBGFLAGS =    -g -DDEBUG  
     33CXX_DBGFLAGS =  -g -DDEBUG @CFLAGS@ 
     34C_DBGFLAGS =    -g -DDEBUG @CXXFLAGS@ 
    3535# Flags to build profiling version 
    36 CXX_PROFFLAGS = -g3 -pg -DDEBUG  
    37 C_PROFFLAGS =   -g3 -pg -DDEBUG  
     36CXX_PROFFLAGS = -g3 -pg -DDEBUG @CFLAGS@ 
     37C_PROFFLAGS =   -g3 -pg -DDEBUG @CXXFLAGS@ 
    3838 
    3939# SDE_LIB needs to be first because it embeds zlib.  We need to use its symbols instead of -lz's