diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:28:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:28:00 +0000 |
commit | 3565071f226432336a54d0193d729fa4508a3394 (patch) | |
tree | 4cde13f078f84c0a7785d234fd52edce7c90546a /debian/patches/bugfix/all/perf-tools-support-extra-cxxflags.patch | |
parent | Adding upstream version 6.6.15. (diff) | |
download | linux-3565071f226432336a54d0193d729fa4508a3394.tar.xz linux-3565071f226432336a54d0193d729fa4508a3394.zip |
Adding debian version 6.6.15-2.debian/6.6.15-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/bugfix/all/perf-tools-support-extra-cxxflags.patch')
-rw-r--r-- | debian/patches/bugfix/all/perf-tools-support-extra-cxxflags.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/bugfix/all/perf-tools-support-extra-cxxflags.patch b/debian/patches/bugfix/all/perf-tools-support-extra-cxxflags.patch new file mode 100644 index 0000000000..a3169e3818 --- /dev/null +++ b/debian/patches/bugfix/all/perf-tools-support-extra-cxxflags.patch @@ -0,0 +1,30 @@ +From: Ben Hutchings <benh@debian.org> +Date: Mon, 15 May 2023 15:58:39 +0200 +Subject: perf tools: Support EXTRA_CXXFLAGS + +Add support for an EXTRA_CXXFLAGS variable, used similarly to +EXTRA_CFLAGS. + +Signed-off-by: Ben Hutchings <benh@debian.org> +--- +--- a/tools/perf/Makefile.config ++++ b/tools/perf/Makefile.config +@@ -18,6 +18,7 @@ detected_var = $(shell echo "$(1)=$($(1) + + CFLAGS := $(EXTRA_CFLAGS) $(filter-out -Wnested-externs,$(EXTRA_WARNINGS)) + HOSTCFLAGS := $(filter-out -Wnested-externs,$(EXTRA_WARNINGS)) ++CXXFLAGS := $(EXTRA_CXXFLAGS) + + # Enabled Wthread-safety analysis for clang builds. + ifeq ($(CC_NO_CLANG), 0) +--- a/tools/perf/Makefile.perf ++++ b/tools/perf/Makefile.perf +@@ -33,7 +33,7 @@ include ../scripts/utilities.mak + # + # Define LDFLAGS=-static to build a static binary. + # +-# Define EXTRA_CFLAGS=-m64 or EXTRA_CFLAGS=-m32 as appropriate for cross-builds. ++# Define EXTRA_CFLAGS=-m64 or EXTRA_CFLAGS=-m32 as appropriate for cross-builds, and similarly EXTRA_CXXFLAGS. + # + # Define EXCLUDE_EXTLIBS=-lmylib to exclude libmylib from the auto-generated + # EXTLIBS. |