[pygobject] Support for GCC4 in Windows distutils build - bug 626548
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Support for GCC4 in Windows distutils build - bug 626548
- Date: Sat, 16 Oct 2010 05:30:52 +0000 (UTC)
commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
Author: Michael Culbertson <michael culbertson gmail com>
Date: Sat Oct 16 17:08:11 2010 +1300
Support for GCC4 in Windows distutils build - bug 626548
dsextras.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/dsextras.py b/dsextras.py
index fd9fefe..035c63d 100644
--- a/dsextras.py
+++ b/dsextras.py
@@ -120,7 +120,8 @@ class BuildExt(build_ext):
# uses -mms-bitfields. Based on the version
# the proper flag is used below.
msnative_struct = { '2' : '-fnative-struct',
- '3' : '-mms-bitfields' }
+ '3' : '-mms-bitfields',
+ '4' : '-mms-bitfields'}
gcc_version = getoutput('gcc -dumpversion')
print ('using MinGW GCC version %s with %s option' % \
(gcc_version, msnative_struct[gcc_version[0]]))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]