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.

44 lines
937 B

  1. --- a/drivers/can_socket/Makefile.in
  2. +++ b/drivers/can_socket/Makefile.in
  3. @@ -23,7 +23,7 @@
  4. CC = SUB_CC
  5. OPT_CFLAGS = -O2
  6. -CFLAGS = SUB_OPT_CFLAGS
  7. +CFLAGS ?= SUB_OPT_CFLAGS
  8. PROG_CFLAGS = SUB_PROG_CFLAGS
  9. PREFIX = SUB_PREFIX
  10. TARGET = SUB_TARGET
  11. --- a/src/Makefile.in
  12. +++ b/src/Makefile.in
  13. @@ -101,7 +101,7 @@ uninstall:
  14. rm -rf $(DESTDIR)$(PREFIX)/include/canfestival
  15. else
  16. -CFLAGS = SUB_OPT_CFLAGS
  17. +CFLAGS ?= SUB_OPT_CFLAGS
  18. ifeq ($(TARGET),none)
  19. canfestival: libcanfestival.o
  20. --- a/drivers/unix/Makefile.in
  21. +++ b/drivers/unix/Makefile.in
  22. @@ -85,7 +85,7 @@ install:
  23. else
  24. -CFLAGS = SUB_OPT_CFLAGS
  25. +CFLAGS ?= SUB_OPT_CFLAGS
  26. driver: libcanfestival_$(TARGET).a
  27. --- a/drivers/timers_unix/Makefile.in
  28. +++ b/drivers/timers_unix/Makefile.in
  29. @@ -23,7 +23,7 @@
  30. CC = SUB_CC
  31. OPT_CFLAGS = -O2
  32. -CFLAGS = SUB_OPT_CFLAGS
  33. +CFLAGS ?= SUB_OPT_CFLAGS
  34. PROG_CFLAGS = SUB_PROG_CFLAGS
  35. OS_NAME = SUB_OS_NAME
  36. ARCH_NAME = SUB_ARCH_NAME