Kaydet (Commit) 10cafea2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clang does not support -fno-check-new (and it is the default for GCC anyway)

Change-Id: I7063439eb042f2abfafc06d48c4bccffd6c7762e
üst d3c91ba5
......@@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,poppler,\
poppler/poppler-notests.patch.1 \
poppler/poppler-snprintf.patch.1 \
poppler/poppler-mac-fake.patch.1 \
poppler/poppler-nochecknew.patch.1 \
))
# vim: set noet sw=4 ts=4:
--- 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 \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment