aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-15 09:24:32 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-17 10:04:48 -0800
commitcd722e33ba845a494ae19a6a45dfe4f60217a7a5 (patch)
tree71aa048393e9bcb77f91bf991556ace8900970db /python
parent4c0f9f51404c26597aaf4a8b182b7de26e3df9c6 (diff)
downloadpaludis-cd722e33ba845a494ae19a6a45dfe4f60217a7a5.tar.gz
paludis-cd722e33ba845a494ae19a6a45dfe4f60217a7a5.tar.xz
build: cleanup and simplify flags handling
The ruby headers use some idioms which generate warnings when building paludis. Rather than assuming that the associated -Wno-* flags are supported by the compiler frontend, explicitly check for the support when necessary (building the Ruby bindings). This slightly speeds up the build when ruby is disabled, but more importantly, will prevent the accidental usage of these flags more broadly.
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am6
1 files changed, 0 insertions, 6 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 9dff4f873..92a145f0e 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -5,12 +5,6 @@ SUBDIRS = .
AM_CXXFLAGS = -I$(top_srcdir) -I$(srcdir)/ \
-I$(top_builddir)/ \
@PALUDIS_CXXFLAGS@ \
- @PALUDIS_CXXFLAGS_NO_WUNUSED@ \
- @PALUDIS_CXXFLAGS_NO_WSHADOW@ \
- @PALUDIS_CXXFLAGS_NO_WEXTRA@ \
- @PALUDIS_CXXFLAGS_NO_WOLD_STYLE_CAST@ \
- @PALUDIS_CXXFLAGS_NO_WWRITE_STRINGS@ \
- @PALUDIS_CXXFLAGS_NO_WMISSING_NORETURN@ \
@PALUDIS_CXXFLAGS_NO_STRICT_ALIASING@ \
@PALUDIS_CXXFLAGS_NO_DEBUGGING@