diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2016-02-06 17:54:45 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2016-02-06 17:54:45 +0000 |
commit | c2f0c7bce052af6107dfe676b956b60550786c56 (patch) | |
tree | 76d5b37883c7dfeb2b884da4d77f02121260ddee /giscanner/ccompiler.py | |
parent | bd8e21186786f56111397d124e2882226c3fc432 (diff) | |
download | gobject-introspection-c2f0c7bce052af6107dfe676b956b60550786c56.tar.gz |
Revert "giscanner: Disable warnings arising from -D_FORTIFY_SOURCE -O0"
This reverts commit 0ff7ca94a608663649defc72021062de098853a8.
As reported by Ting-Wei Lan, this breaks builds with Clang, which
doesn’t support -Wno-cpp.
https://bugzilla.gnome.org/show_bug.cgi?id=757934#c5
Diffstat (limited to 'giscanner/ccompiler.py')
-rw-r--r-- | giscanner/ccompiler.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py index 574f40cb..9b27f0e1 100644 --- a/giscanner/ccompiler.py +++ b/giscanner/ccompiler.py @@ -229,12 +229,6 @@ class CCompiler(object): extra_postargs.append('-Wall') extra_postargs.append(self._cflags_no_deprecation_warnings) - # Disable warnings from combining _FORTIFY_SOURCE (from - # distutils.sysconfig) and -O0 (potentially provided in CFLAGS by the - # user). - if isinstance(self.compiler, UnixCCompiler): - extra_postargs.append('-Wno-cpp') - includes.extend(include_paths) extra_postargs.extend(extra_args) |