=================================================================== RCS file: /cvs/djgpp/djgpp/src/makefile.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -p -u -r1.4 -r1.5 --- djgpp/src/makefile.cfg 2015/04/29 15:14:32 1.4 +++ /cvs/djgpp/djgpp/src/makefile.cfg 2015/05/03 12:23:14 1.5 @@ -8,15 +8,16 @@ GCC_MINOR := $(word 3, $(shell ./misc.ex MTUNE := -mcpu=i586 IQUOTE := -I. -I- -ifeq ($(GCC_MAJOR),3) -ifeq ($(GCC_MINOR),4) -MTUNE := -mtune=i586 -endif +ifeq ($(filter 2 3,$(GCC_MAJOR)),) +# we have gcc >= 4.x +MTUNE := -mtune=i586 +IQUOTE := -iquote . endif -ifneq ($(filter 4 5 6,$(GCC_MAJOR)),) +ifeq ($(GCC_MAJOR),3) +ifeq ($(GCC_MINOR),4) MTUNE := -mtune=i586 -IQUOTE := -iquote . +endif endif config: gcc.opt gpp.opt gcc-l.opt