patch-rocutils_makefile 563 B

123456789101112131415161718192021
  1. $OpenBSD: patch-rocutils_makefile,v 1.1 2017/05/07 23:57:16 espie Exp $
  2. Index: rocutils/makefile
  3. --- rocutils/makefile.orig
  4. +++ rocutils/makefile
  5. @@ -69,11 +69,11 @@ BINDIR=..$(FS)$(COREDIR)bin
  6. AR=$(TOOLPREFIX)ar
  7. -CPP=$(TOOLPREFIX)gcc
  8. -LNK=$(TOOLPREFIX)gcc
  9. +CPP=$(TOOLPREFIX)$(CC)
  10. +LNK=$(TOOLPREFIX)$(CC)
  11. INCL_PATH=$(MOUNTPOINT)
  12. -CC_FLAGS=-c $(CC_EXTRA_FLAGS) $(DEBUG) -ansi -I$(INCL_PATH) -I$(GENDIR)
  13. +CC_FLAGS=-c $(CC_EXTRA_FLAGS) $(CFLAGS) $(DEBUG) -ansi -I$(INCL_PATH) -I$(GENDIR)
  14. OBJS=$(patsubst impl/%.c,$(TMPOUTDIR)/%.o,$(wildcard impl/*.c))