aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-30 17:59:52 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-30 17:59:52 -0500
commit00da2f91c90d881ec5e21064669f63172a28b15e (patch)
tree804017521b8cf0924a410d18edd2da417900a1a8 /debian/rules
parent5d6108ee4440881b08b419a1c454b1db57e1d6ce (diff)
parent18c9f881e5eb01b157048d083515e59ebdd08afa (diff)
downloadayatana-indicator-datetime-00da2f91c90d881ec5e21064669f63172a28b15e.tar.gz
ayatana-indicator-datetime-00da2f91c90d881ec5e21064669f63172a28b15e.tar.bz2
ayatana-indicator-datetime-00da2f91c90d881ec5e21064669f63172a28b15e.zip
sync with trunk
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
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
%: