summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-19 11:18:45 +0100
committerMax Kellermann <max@musicpd.org>2018-01-19 12:33:28 +0100
commitfcaedec2ab027971fdb342d257c4af6d3560edde (patch)
tree81b22aae197aadb03aff018ce4dcac01c77fab4a /win32
parentead9d59e8805890c129e545f1b20776eb1a48838 (diff)
{android,win32}/build.py: move "-O* -g" to common_flags
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/build.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/build.py b/win32/build.py
index d2b1aef1a..45c5dfa4c 100755
--- a/win32/build.py
+++ b/win32/build.py
@@ -50,14 +50,14 @@ class CrossGccToolchain:
self.nm = os.path.join(toolchain_bin, arch + '-nm')
self.strip = os.path.join(toolchain_bin, arch + '-strip')
- common_flags = ''
+ common_flags = '-O2 -g'
if not x64:
# enable SSE support which is required for LAME
common_flags += ' -march=pentium3'
- self.cflags = '-O2 -g ' + common_flags
- self.cxxflags = '-O2 -g ' + common_flags
+ self.cflags = common_flags
+ self.cxxflags = common_flags
self.cppflags = '-isystem ' + os.path.join(install_prefix, 'include')
self.ldflags = '-L' + os.path.join(install_prefix, 'lib')
self.libs = ''