File: compiler.patch

package info (click to toggle)
libatomic-queue 1.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 13,460 kB
  • sloc: cpp: 1,692; javascript: 368; makefile: 160; python: 82; ansic: 81; sh: 59
file content (21 lines) | stat: -rw-r--r-- 594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: don't erase compiler environment variables.
 This helps with testing alternative compilers, and it should also give a
 little hand to cross-builds.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2022-07-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libatomic-queue.orig/Makefile
+++ libatomic-queue/Makefile
@@ -31,8 +31,8 @@
 ld.clang := clang++
 ar.clang := ar
 
-CXX := ${cxx.${TOOLSET}}
-CC := ${cc.${TOOLSET}}
+CXX ?= ${cxx.${TOOLSET}}
+CC ?= ${cc.${TOOLSET}}
 LD := ${ld.${TOOLSET}}
 AR := ${ar.${TOOLSET}}