~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-08-04 16:04:09 UTC
  • Revision ID: package-import@ubuntu.com-20150804160409-0tbkgrdcgn04epli
Tags: 1:3.7~+rc2-1ubuntu1
Fix setting CXX.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
TARGET_BUILD    := build-llvm
4
4
DEB_INST                := $(CURDIR)/debian/tmp/
5
5
#GCC_VERSION     := 4.8
6
 
GCC_VERSION     := $(shell dpkg-query -W -f '$${Version}' g++ | sed -rne 's,^([0-9]+:)?([0-9]+\.[0-9]+|[0-9]+).*$$,\2,p')
 
6
GCC_VERSION     := $(subst gcc-,,$(shell readlink /usr/bin/gcc))
7
7
LLVM_VERSION    := 3.7
8
8
LLVM_VERSION_FULL := $(LLVM_VERSION).0
9
9
SONAME_EXT      := 1