aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild/0001-abuild-fix-CXXFLAGS-for-debug.patch
blob: 35f78b733186141f1367811f8604a7a2e7bcb6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 756a9e0c0466e79d914e563068ed345f47a8092f Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 28 Jan 2015 13:09:24 +0000
Subject: [PATCH] abuild: fix CXXFLAGS for debug

---
 abuild.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/abuild.in b/abuild.in
index 68f6afd..655c1a9 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1995,6 +1995,7 @@ fi
 # if we want build debug package
 if [ -n "$DEBUG" ] || subpackage_types_has "dbg"; then
 	CFLAGS="$CFLAGS -g"
+	CXXFLAGS="$CXXFLAGS -g"
 	options="$options !strip"
 fi
 
-- 
2.2.2