Merge lp:~thomas-voss/unity8/explicit-gcc-version into lp:unity8
Proposed by
Thomas Voß
Status: | Merged |
---|---|
Approved by: | Michał Sawicz |
Approved revision: | 1072 |
Merged at revision: | 1068 |
Proposed branch: | lp:~thomas-voss/unity8/explicit-gcc-version |
Merge into: | lp:unity8 |
Diff against target: |
87 lines (+19/-2) 5 files modified
debian/control (+5/-1) debian/rules (+7/-0) plugins/Ubuntu/Payments/CMakeLists.txt (+1/-1) tests/mocks/libusermetrics/UserMetrics.cpp (+3/-0) tests/plugins/Unity/Indicators/unitymenumodelstacktest.cpp (+3/-0) |
To merge this branch: | bzr merge lp:~thomas-voss/unity8/explicit-gcc-version |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Michał Sawicz | Approve | ||
Colin Watson | Pending | ||
Review via email: mp+227893@code.launchpad.net |
Commit message
Explicitly select gcc version.
Description of the change
Explicitly select gcc version.
To post a comment you must log in.
This duplication is there again:
export CC=$(DEB_ HOST_GNU_ TYPE)-gcc- 4.9 HOST_GNU_ TYPE)-g+ +-4.9
export CXX=$(DEB_
and
dh_auto_configure -- -DCMAKE_ INSTALL_ LOCALSTATEDIR= "/var" -DCMAKE_ C_COMPILER= $(CC) -DCMAKE_ CXX_COMPILER= $(CXX)
You don't need to give these compiler flags to CMake, it will pick them up automatically from the envvars. In addition this definition is broken because it does not quote its arguments. So if, for example, in the future CC is set to "ccache gcc-whatever", this will break.