source: freewrt/package/motion/patches/02-honor_cppflags.patch@ 9df7618

freewrt_1_0 freewrt_2_0
Last change on this file since 9df7618 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: 829 bytes
  • motion-3.2.5.

    diff -ruN motion-3.2.5.1-old/Makefile.in motion-3.2.5.1-new/Makefile.in
    old new  
    3232################################################################################
    3333CFLAGS       = @CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -D_REENTRANT \
    3434               -Dsysconfdir=\"$(sysconfdir)\"
     35CPPFLAGS     = @CPPFLAGS@
    3536LDFLAGS      = @LDFLAGS@
    3637LIBS         = @LIBS@
    3738VIDEO_OBJ    = @VIDEO@
     
    115116################################################################################
    116117$(DEPEND_FILE): *.h $(SRC)
    117118        @echo "Generating dependencies, please wait..."
    118         @$(CC) $(CFLAGS) -M $(SRC) > .tmp
     119        @$(CC) $(CFLAGS) $(CPPFLAGS) -M $(SRC) > .tmp
    119120        @mv -f .tmp $(DEPEND_FILE)
    120121        @echo
    121122
Note: See TracBrowser for help on using the repository browser.