office-gobmx/poppler/poppler-nochecknew.patch.1
Stephan Bergmann 10cafea2bc Clang does not support -fno-check-new (and it is the default for GCC anyway)
Change-Id: I7063439eb042f2abfafc06d48c4bccffd6c7762e
2013-09-30 15:12:49 +02:00

11 lines
530 B
Groff

--- poppler-0.22.5/configure
+++ poppler-0.22.5/configure
@@ -24014,7 +24014,7 @@
fi
case "$enable_compile_warnings" in
no) ;;
- yes) CXXFLAGS="-Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-check-new -fno-common $CXXFLAGS";
+ yes) CXXFLAGS="-Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-common $CXXFLAGS";
CFLAGS="-Wall $CFLAGS" ;;
kde) CXXFLAGS="-Wnon-virtual-dtor -Wno-long-long -Wundef \
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -Wcast-align \