patch-libada_Makefile_in 748 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-libada_Makefile_in,v 1.1 2014/05/01 23:08:26 tobiasu Exp $
  2. Right above this patch hunk is this amusing comment:
  3. # The tedious process of getting CFLAGS right.
  4. Nice try!
  5. GNATLIBCFLAGS can't be set via configure and ADA_CFLAGS is not set by default.
  6. This patch should retain default behavior while allowing to change e.g.
  7. optimization level when needed.
  8. --- libada/Makefile.in.orig Thu May 1 21:56:49 2014
  9. +++ libada/Makefile.in Thu May 1 21:58:40 2014
  10. @@ -63,7 +63,7 @@ GCC_WARN_CFLAGS = $(LOOSE_WARN)
  11. WARN_CFLAGS = @warn_cflags@
  12. TARGET_LIBGCC2_CFLAGS=
  13. -GNATLIBCFLAGS= -g -O2
  14. +GNATLIBCFLAGS= -g -O2 $(ADA_CFLAGS)
  15. GNATLIBCFLAGS_FOR_C = $(GNATLIBCFLAGS) $(TARGET_LIBGCC2_CFLAGS) -fexceptions \
  16. -DIN_RTS @have_getipinfo@