File: compiler.patch

package info (click to toggle)
libatomic-queue 0.0%2Bgit20220518.83774a2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,352 kB
  • sloc: cpp: 1,620; javascript: 353; makefile: 131; python: 82; ansic: 74; 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
@@ -22,8 +22,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}}