Merge lp:~vorlon/platform-api/explicit-gcc-version into lp:platform-api

Proposed by Steve Langasek
Status: Merged
Merged at revision: 245
Proposed branch: lp:~vorlon/platform-api/explicit-gcc-version
Merge into: lp:platform-api
Diff against target: 37 lines (+14/-0)
2 files modified
debian/control (+4/-0)
debian/rules (+10/-0)
To merge this branch: bzr merge lp:~vorlon/platform-api/explicit-gcc-version
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Colin Watson Pending
Matthias Klose Pending
Ricardo Mendoza Pending
Review via email: mp+226566@code.launchpad.net

Commit message

Explicitly select g++-4.9 to prevent from ABI breaks.

Description of the change

Explicitly select g++-4.9 to prevent from ABI breaks.

To post a comment you must log in.
236. By Steve Langasek

Revert changelog entry, causing merge conflicts

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/control'
--- debian/control 2014-07-01 09:32:25 +0000
+++ debian/control 2014-07-12 06:47:42 +0000
@@ -7,6 +7,10 @@
7 debhelper (>= 9),7 debhelper (>= 9),
8 doxygen,8 doxygen,
9 graphviz,9 graphviz,
10# We rely on C++11 features, and to prevent from ABI breaks
11# in libstdc++ causing us issues, we explicitly select a G++
12# version.
13 g++-4.9,
10 libgles2-mesa-dev,14 libgles2-mesa-dev,
11 libhybris-common-dev,15 libhybris-common-dev,
12 pkg-config,16 pkg-config,
1317
=== modified file 'debian/rules'
--- debian/rules 2014-05-20 14:24:10 +0000
+++ debian/rules 2014-07-12 06:47:42 +0000
@@ -2,9 +2,19 @@
22
3DPKG_GENSYMBOLS_CHECK_LEVEL = 43DPKG_GENSYMBOLS_CHECK_LEVEL = 4
44
5include /usr/share/dpkg/default.mk
6
7# Explicitly selecting a G{CC,++}-version here to avoid accidental
8# ABI breaks introduced by toolchain updates.
9export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
10export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
11
5%:12%:
6 dh $@13 dh $@
714
15override_dh_auto_configure:
16 dh_auto_configure -- -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX)
17
8override_dh_install:18override_dh_install:
9 dh_install --fail-missing19 dh_install --fail-missing
1020

Subscribers

People subscribed via source and target branches