Changeset 2103

Show
Ignore:
Timestamp:
11/29/03 14:13:54 (5 years ago)
Author:
khali
Message:

Compile with "-g -O" instead of "-O2" when DEBUG is set to 1.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r2085 r2103  
    184184# LIBCPPFLAGS/LIBCFLAGS are for shared library objects. 
    185185ALL_CPPFLAGS := -I. -Ikernel/include -I$(I2C_HEADERS) 
    186 ALL_CFLAGS := -Wall -O2  
     186ALL_CFLAGS := -Wall 
    187187 
    188188ifeq ($(DEBUG),1) 
    189189ALL_CPPFLAGS += -DDEBUG 
     190ALL_CFLAGS += -O -g 
     191else 
     192ALL_CFLAGS += -O2 
    190193endif 
    191194