From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Alex Myczko <tar@debian.org>
Date: May, 06 2026 04:52:23 +0000
Subject: [PATCH] <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-<Vendor>: <vendor-bugtracker-url>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>

Index: zytrax-0+git20250217+ds/SConstruct
===================================================================
--- zytrax-0+git20250217+ds.orig/SConstruct
+++ zytrax-0+git20250217+ds/SConstruct
@@ -7,7 +7,10 @@ env = Environment(CPPPATH=['#/globals','
 
 
 env.ParseConfig("pkg-config gtkmm-3.0 --libs --cflags")
-env.Append(CXXFLAGS=["-g3"])
+env.Append(CPPFLAGS=os.environ.get("CPPFLAGS", "").split())
+env.Append(CFLAGS=os.environ.get("CFLAGS", "").split())
+env.Append(CXXFLAGS=os.environ.get("CXXFLAGS", "").split())
+env.Append(LINKFLAGS=os.environ.get("LDFLAGS", "").split())
 
 opts = Variables(ARGUMENTS)
 
@@ -127,4 +130,3 @@ SConscript('gui/SCsub');
 SConscript('effects/SCsub');
 SConscript('drivers/SCsub');
 SConscript('bin/SCsub');
-
