summaryrefslogtreecommitdiff
path: root/media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch
blob: 94dbf881de0cfce67d57ca75144674b55dfc34f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Gentoo enables _FORTIFY_SOURCE by default so this avoids redefined warnings.

--- inkscape-0.91pre3/configure.ac
+++ inkscape-0.91pre3/configure.ac
@@ -72,9 +72,6 @@
   ####
   # Generic cpp flags...
 
-  # What is just plain "-W" ?
-  # Fortify source requires -O2 or higher, which is handled with newer autoconf
-  CPPFLAGS="-W -D_FORTIFY_SOURCE=2 $CPPFLAGS"
   # Enable format and format security warnings
   CPPFLAGS="-Wformat -Wformat-security $CPPFLAGS"
   # Enable all default warnings