lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

002-Makefile.patch (532B)


      1 --- a/src/Makefile
      2 +++ b/src/Makefile
      3 @@ -1,7 +1,7 @@
      4  # In case of windows, use os_cygwin=yes setting in the configuration file (smsd.conf).
      5  
      6  # Select your setup size:
      7 -CFLAGS = -D NUMBER_OF_MODEMS=64
      8 +CFLAGS ?= -D NUMBER_OF_MODEMS=64
      9  
     10  # Uncomment for Solaris
     11  # CFLAGS += -D SOLARIS
     12 @@ -43,7 +43,7 @@ smsd: smsd.c extras.o locking.o cfgfile.
     13  
     14  ifneq (,$(findstring SOLARIS,$(CFLAGS)))
     15  ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
     16 -override LFLAGS += -lsocket -lnsl
     17 +	override LFLAGS += -lsocket -lnsl
     18  endif
     19  endif
     20