lede-packages-rs

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

900_fix-build.patch (1524B)


      1 --- a/cpp/build/Makefile
      2 +++ b/cpp/build/Makefile
      3 @@ -15,7 +15,7 @@
      4  # what flags we will use for compiling in debug mode
      5  DEBUG_CFLAGS    := -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -Werror -Wno-error=sequence-point -Wno-sequence-point -ggdb -DDEBUG -fPIC  -DSYSCONFDIR="\"$(PREFIX)/etc/openzwave/\""
      6  # what flags we will use for compiling in release mode
      7 -RELEASE_CFLAGS  := -Wall -Wno-unknown-pragmas -Werror -Wno-format -Wno-error=sequence-point -Wno-sequence-point -O3 -DNDEBUG -fPIC  -DSYSCONFDIR="\"$(PREFIX)/etc/openzwave/\""
      8 +RELEASE_CFLAGS  := -Wall -Wno-unknown-pragmas -Wno-error=sequence-point -Wno-sequence-point -DNDEBUG -fPIC  -DSYSCONFDIR="\"/etc/openzwave/\""
      9  #what flags we will use for linking in debug mode
     10  DEBUG_LDFLAGS	:= -g
     11  
     12 @@ -139,7 +139,7 @@ $(LIBDIR)/libopenzwave.a:	$(patsubst %.c
     13  			$(patsubst %.cpp,$(OBJDIR)/%.o,$(indep)) \
     14  			$(OBJDIR)/vers.o
     15  	@echo "Linking Static Library"
     16 -	@$(AR) $@ $+
     17 +	@$(AR) q $@ $+
     18  	@$(RANLIB) $@
     19  
     20  $(LIBDIR)/$(SHARED_LIB_NAME):	$(patsubst %.cpp,$(OBJDIR)/%.o,$(tinyxml)) \
     21 @@ -161,7 +161,7 @@ $(top_builddir)/libopenzwave.pc: $(top_s
     22  		-e 's|[@]exec_prefix@|$(PREFIX)/bin|g' \
     23  		-e 's|[@]libdir@|$(instlibdir)|g' \
     24  		-e 's|[@]includedir@|$(PREFIX)/include/openzwave/|g' \
     25 -                -e 's|[@]sysconfdir@|$(PREFIX)/etc/openzwave/|g' \
     26 +                -e 's|[@]sysconfdir@|/etc/openzwave/|g' \
     27                  -e 's|[@]gitversion@|$(GITVERSION)|g' \
     28                  -e 's|[@]docdir@|$(docdir)/|g' \
     29  		-e 's|[@]VERSION@|$(VERSION)|g' \