patch-Makefile_rdy 802 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-Makefile_rdy,v 1.2 2017/05/05 11:43:47 espie Exp $
  2. Index: Makefile.rdy
  3. --- Makefile.rdy.orig
  4. +++ Makefile.rdy
  5. @@ -226,13 +226,13 @@ DBGFLAGS := -n32 -g3 -DDEBUGMODE=1
  6. else
  7. WFLAGS := -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED
  8. WFLAGS_ALLEGRO := -Wno-missing-declarations
  9. -OFLAGS := -O2 -ffast-math -fomit-frame-pointer
  10. -DBGFLAGS := -DDEBUGMODE=1 -g3
  11. +OFLAGS := -O2 -ffast-math -fomit-frame-pointer -fgnu89-inline
  12. +DBGFLAGS := -DDEBUGMODE=1 -g3 -fgnu89-inline
  13. endif
  14. endif
  15. -CFLAGS_RELEASE := -Iinclude $(WFLAGS) $(OFLAGS)
  16. -CFLAGS_DEBUG := -Iinclude $(WFLAGS) $(DBGFLAGS)
  17. +CFLAGS_RELEASE := -Iinclude -I/usr/local/include $(WFLAGS) $(OFLAGS)
  18. +CFLAGS_DEBUG := -Iinclude -I${LOCALBASE}/include $(WFLAGS) $(DBGFLAGS)
  19. LDFLAGS := -s