diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-18 12:06:17 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-07-18 12:06:17 +0000 |
commit | 87ba2b55ce8307bf021ce437ef9269c95cd1ddd9 (patch) | |
tree | a0fa0fb00632d79d2d46e7e51199044f4c207d10 /debian/rules | |
parent | 1a497059179ece59d1cb7ad23b5d96b08dbf5837 (diff) | |
parent | c8714f2ac53d8999d89a78810c6d60694482fdb6 (diff) | |
download | ayatana-indicator-datetime-87ba2b55ce8307bf021ce437ef9269c95cd1ddd9.tar.gz ayatana-indicator-datetime-87ba2b55ce8307bf021ce437ef9269c95cd1ddd9.tar.bz2 ayatana-indicator-datetime-87ba2b55ce8307bf021ce437ef9269c95cd1ddd9.zip |
make the gcc version explicit in debian/control and debian/rules.
Approved by: PS Jenkins bot
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index d2889aa..cf940f5 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,10 @@ #!/usr/bin/make -f +# Explicitly selecting a G{CC,++}-version here to avoid accidental +# ABI breaks introduced by toolchain updates. +export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9 +export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9 + LDFLAGS += -Wl,-z,defs -Wl,--as-needed %: |