patch-rocrail_makefile 637 B

1234567891011121314151617181920
  1. $OpenBSD: patch-rocrail_makefile,v 1.1 2017/05/07 23:57:16 espie Exp $
  2. Index: rocrail/makefile
  3. --- rocrail/makefile.orig
  4. +++ rocrail/makefile
  5. @@ -80,10 +80,10 @@ DEBUG=-g
  6. DESTDIR=$(FS)opt$(FS)rocrail
  7. BINDIR=..$(FS)rocs$(FS)bin
  8. -CPP=$(TOOLPREFIX)gcc
  9. -LNK=$(TOOLPREFIX)gcc
  10. +CPP=$(TOOLPREFIX)$(CC)
  11. +LNK=$(TOOLPREFIX)$(CC)
  12. INCL_PATH=$(MOUNTPOINT)
  13. -CC_FLAGS=-c $(CC_EXTRA_FLAGS) $(DEBUG) $(ANSI) -I$(INCL_PATH) -I$(GENDIR)
  14. +CC_FLAGS=-c $(CC_EXTRA_FLAGS) $(DEBUG) $(CFLAGS) $(ANSI) -I$(INCL_PATH) -I$(GENDIR)
  15. LNK_FLAGS=
  16. RRLIBS=$(OUTDIR)$(FS)libwrapper.a $(OUTDIR)$(FS)librocs.a $(OUTDIR)$(FS)librocutils.a $(OUTDIR)$(FS)librocrail.a