ports/editors/mined/files/patch-src__mkinclud.gcc
Thierry Thomas d97131927f Finally it seems that the base Gcc is sufficient: only -Wtype-limits is
newer and can be removed.

Submitted by:	danfe
2015-04-06 20:00:28 +00:00

20 lines
648 B
Text

--- src/mkinclud.gcc.orig 2015-03-08 23:00:00 UTC
+++ src/mkinclud.gcc
@@ -48,7 +48,7 @@ GFLAGS= -ansi -Waggregate-return -Winlin
GCC3FLAGS=-Wdeclaration-after-statement -Wno-pragmas
# -Wunreachable-code deprecated
-GCC4FLAGS=$(GCC3FLAGS) -Wno-pointer-sign -Wtype-limits
+GCC4FLAGS=$(GCC3FLAGS) -Wno-pointer-sign
# Warning options for newer gcc versions:
# (additional grep for the sake of MSys sed failing on CRLF from MinGW gcc)
@@ -71,7 +71,7 @@ PROTOFLAGS= -Wmissing-prototypes -Wretur
# compilation mode options (optimisation and debug)
# Optimization flag/level:
-OPT= -O2
+#OPT= -O2
# Debugging option
DEBUG= # -ggdb -gstabs