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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.3.0-beta0
    • 1.1.2
    • None
    • None
    • glibc on Linux

    Description

      ./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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: