source: freewrt/package/udev/patches/01-no_debug.patch@ 428f140

freewrt_1_0 freewrt_2_0
Last change on this file since 428f140 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 849 bytes
  • Makefile

    diff -ruN udev-077-old/Makefile udev-077-new/Makefile
    old new  
    136136# check if compiler option is supported
    137137cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi;}
    138138
    139 CFLAGS          = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
     139CFLAGS          = -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
    140140WARNINGS        = -Wstrict-prototypes -Wsign-compare -Wshadow \
    141141                  -Wchar-subscripts -Wmissing-declarations -Wnested-externs \
    142142                  -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
     
    159159
    160160# if DEBUG is enabled, then we do not strip
    161161ifeq ($(strip $(DEBUG)),true)
    162         CFLAGS  += -DDEBUG
     162        CFLAGS  += -g -DDEBUG
    163163        STRIPCMD =
    164164endif
    165165
Note: See TracBrowser for help on using the repository browser.