Changeset 911cc4f for configure


Ignore:
Timestamp:
2007-12-02T17:24:46Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5bd21df
Parents:
4306d8b
Message:

Defining DEBUG via CFLAGS so that it'll always be there, even when a file
doesn't include config.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r4306d8b r911cc4f  
    135135        [ -z "$CFLAGS" ] && CFLAGS=-g
    136136        echo 'DEBUG=1' >> Makefile.settings
    137         echo '#define DEBUG' >> config.h
     137        CFLAGS="$CFLAGS -DDEBUG"
    138138else
    139139        [ -z "$CFLAGS" ] && CFLAGS="-O2 -fno-strict-aliasing"
Note: See TracChangeset for help on using the changeset viewer.