Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-599

./configure --disable-optimizations should not touch CFLAGS

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0-beta0
    • Affects Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      glibc on Linux

      ./configure --disable-optimizations appends -O0 to CFLAGS. ./configure --enable-optimizations appends -O2. I'd like to see possibility not to change the optimization level at all. This is especially useful for distributions which want to build software uniformly with their own compiler flags.

      Attached patch changes --disable-optimizations to preserve CFLAGS.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            ppisar Petr Pisar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: