Closed Bug 1053135 Opened 5 years ago Closed 5 years ago

Disable a unsupported optimization flags when compiling with clang under GNU/Linux

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Sylvestre, Assigned: Sylvestre)

Details

Attachments

(1 file)

In future version of clang, unsupported optimization flags are going to trigger a warning. They used to be silently ignored or triggering an error.

In Firefox build, we are unconditionally adding "-freorder-blocks" to the FLAGS showing a lot of warnings during build time:
clang: warning: optimization flag '-freorder-blocks' is not supported
Attachment #8472238 - Flags: review?(mh+mozilla)
Attachment #8472238 - Flags: review?(mh+mozilla) → review+
Assignee: nobody → sledru
Version: 29 Branch → Trunk
https://hg.mozilla.org/mozilla-central/rev/c975c3d3545d
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Product: Firefox → Core
Target Milestone: Firefox 34 → ---
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.