build with clang on mips64el

Change-Id: I92893af20196a13b61f57acecac7475a882f4ce8
This commit is contained in:
isoletsy 2018-04-10 13:42:24 +08:00
parent acd2bd0dad
commit 5706b61cf4
Notes: gerrit 2018-04-10 07:10:33 +00:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Tue, 10 Apr 2018 07:10:32 +0000
Reviewed-on: https://cr.deepin.io/33453
Project: dde/dde-dock
Branch: refs/heads/master

7
debian/rules vendored
View File

@ -2,6 +2,13 @@
# -*- makefile -*-
export QT_SELECT=5
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
ifeq ($(DEB_BUILD_ARCH), mips64el)
export CC = /usr/bin/clang
export CXX = /usr/bin/clang++
endif
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1