diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-09-14 11:33:54 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-09-14 11:33:54 +0200 |
commit | eade708b52f14bc0195a94e665160fb04239c43b (patch) | |
tree | 4a282592fc18d170a09b52c380390eb28fff9535 /python | |
parent | Use python-config to get compiler/linker flags (diff) | |
download | ice-eade708b52f14bc0195a94e665160fb04239c43b.tar.bz2 ice-eade708b52f14bc0195a94e665160fb04239c43b.tar.xz ice-eade708b52f14bc0195a94e665160fb04239c43b.zip |
Remove -Wstrict-prototypes compiler option, not valid with C++
Diffstat (limited to 'python')
-rw-r--r-- | python/config/Make.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/config/Make.rules b/python/config/Make.rules index a796a96c617..75b32ad9669 100644 --- a/python/config/Make.rules +++ b/python/config/Make.rules @@ -28,6 +28,9 @@ ifneq ($(OPTIMIZE),yes) python_cppflags := $(filter-out -O% -DNDEBUG,$(python_cppflags)) endif +# Remove the -Wstrict-prototypes option which is not valid with C++ +python_cppflags := $(filter-out -Wstrict-prototypes,$(python_cppflags)) + # # Python installation directory # |