Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8150201

Restore missing -g flags to files with OPT_CFLAGS/per-file

XMLWordPrintable

    • b109

      Probably due to confusion as to OPT_CFLAGS meant "CFLAGS for optimization" or "CFLAGS for optimized/product build", whenever OPT_CFLAGS/foo.o is set, the general value of OPT_CFLAGS is discarded.

      However, OPT_CFLAGS include -g (or -g0 -xs on solaris) from FDS, and this flag is lost for these files.

      This patch is a minimal fix to restore the -g flag to these files.

            ihse Magnus Ihse Bursie
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: