source: freewrt/tools/jffs2/patches/020-cflags-abuse.patch@ a59bb75

freewrt_1_0 freewrt_2_0
Last change on this file since a59bb75 was a59bb75, checked in by Thorsten Glaser <tg@…>, 19 years ago

fix build (it was actually a CFLAGS abuse,
the build honours (HOST)CC/CFLAGS now)

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

  • Property mode set to 100644
File size: 571 bytes
  • mtd-20050122.orig/util/Makefile

    old new MANDIR=/usr/man  
    88INCLUDEDIR=/usr/include
    99#CROSS=arm-linux-
    1010CC := $(CROSS)gcc
    11 CFLAGS := -I../include -O2 -Wall
     11CFLAGSX := -I../include ${CFLAGS}
    1212
    1313TARGETS = mkfs.jffs2
    1414       
    SYMLINKS = compr_lzari.c compr_lzo.c  
    1919        $(CC) $(LDFLAGS) -g -o $@ $^
    2020
    2121%.o: %.c
    22         $(CC) -include param.h $(CFLAGS) -g -c -o $@ $< -g -Wp,-MD,.$<.dep
     22        $(CC) -include param.h $(CFLAGSX) -g -c -o $@ $< -g -Wp,-MD,.$<.dep
    2323
    2424.SUFFIXES:
    2525
Note: See TracBrowser for help on using the repository browser.