You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.5 KiB

  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. @@ -139,7 +139,7 @@ $(LIBDIR)/libopenzwave.a: $(patsubst %.c
  12. $(patsubst %.cpp,$(OBJDIR)/%.o,$(indep)) \
  13. $(OBJDIR)/vers.o
  14. @echo "Linking Static Library"
  15. - @$(AR) $@ $+
  16. + @$(AR) q $@ $+
  17. @$(RANLIB) $@
  18. $(LIBDIR)/$(SHARED_LIB_NAME): $(patsubst %.cpp,$(OBJDIR)/%.o,$(tinyxml)) \
  19. @@ -161,7 +161,7 @@ $(top_builddir)/libopenzwave.pc: $(top_s
  20. -e 's|[@]exec_prefix@|$(PREFIX)/bin|g' \
  21. -e 's|[@]libdir@|$(instlibdir)|g' \
  22. -e 's|[@]includedir@|$(PREFIX)/include/openzwave/|g' \
  23. - -e 's|[@]sysconfdir@|$(PREFIX)/etc/openzwave/|g' \
  24. + -e 's|[@]sysconfdir@|/etc/openzwave/|g' \
  25. -e 's|[@]gitversion@|$(GITVERSION)|g' \
  26. -e 's|[@]docdir@|$(docdir)/|g' \
  27. -e 's|[@]VERSION@|$(VERSION)|g' \