| OLD | NEW |
| (Empty) |
| 1 #!/usr/bin/make -f | |
| 2 # -*- makefile -*- | |
| 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | |
| 4 # Use of this source code is governed by a BSD-style license that can be | |
| 5 # found in the LICENSE file. | |
| 6 %: | |
| 7 dh $@ | |
| 8 | |
| 9 DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | |
| 10 DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | |
| 11 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) | |
| 12 CXX := g++ | |
| 13 else | |
| 14 CXX := $(DEB_HOST_GNU_TYPE)-g++ | |
| 15 endif | |
| 16 | |
| 17 override_dh_auto_build: | |
| 18 $(MAKE) CXX=$(CXX) | |
| OLD | NEW |