From 6e9afc0398fc60cb7a20c8d5b4198c1dbf443df3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 8 Mar 2014 10:56:31 +0530 Subject: [PATCH] ... --- setup/extensions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/extensions.py b/setup/extensions.py index 7a22836ebe..c3a7fe4550 100644 --- a/setup/extensions.py +++ b/setup/extensions.py @@ -303,9 +303,10 @@ if islinux or isosx: if isunix: cc = os.environ.get('CC', 'gcc') cxx = os.environ.get('CXX', 'g++') + debug = '' + # debug = '-ggdb' cflags = os.environ.get('OVERRIDE_CFLAGS', - # '-Wall -DNDEBUG -ggdb -fno-strict-aliasing -pipe') - '-Wall -DNDEBUG -fno-strict-aliasing -pipe') + '-Wall -DNDEBUG %s -fno-strict-aliasing -pipe' % debug) cflags = shlex.split(cflags) + ['-fPIC'] ldflags = os.environ.get('OVERRIDE_LDFLAGS', '-Wall') ldflags = shlex.split(ldflags)