aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/clients/cave/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/Makefile.am b/src/clients/cave/Makefile.am
index 8489c68a1..75db797a2 100644
--- a/src/clients/cave/Makefile.am
+++ b/src/clients/cave/Makefile.am
@@ -1,7 +1,7 @@
include $(top_srcdir)/misc/common-makefile.am
AM_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src \
- @PALUDIS_CXXFLAGS@ @PALUDIS_CXXFLAGS_NO_WOLD_STYLE_CAST@
+ @PALUDIS_CXXFLAGS@
DEFS= \
-DBINDIR=\"$(bindir)\" \
-DSYSCONFDIR=\"$(sysconfdir)\" \