defs.mak.in: Remove -I. from default compiler options

This can only cause trouble being a global default setting.

All project include files are qualified with a path prefix to help
disambiguate duplication of header file names to effectively provide
a namespace.

When removing it nothing seemed break.  Maybe more configurations
should be tested.  They were all ok.
This commit is contained in:
Darryl L. Miles 2024-10-04 20:07:03 +01:00 committed by R. Timothy Edwards
parent 271aef82bd
commit 73a6ac1650
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ CC = @CC@
CPP = @CPP@
CXX = @CXX@
CPPFLAGS = -I. -I${MAGICDIR} @CPPFLAGS@
CPPFLAGS = -I${MAGICDIR} @CPPFLAGS@
DFLAGS = @extra_defs@ @stub_defs@ @DEFS@ -DMAGIC_VERSION=\"${MAGIC_VERSION}\" -DMAGIC_REVISION=\"${MAGIC_REVISION}\" -DMAGIC_COMMIT=\"${MAGIC_COMMIT}\" -DGCORE=\"@GCORE@\"
DFLAGS += -DSHDLIB_EXT=\"@SHDLIB_EXT@\" -DNDEBUG
DFLAGS_NOSTUB = @extra_defs@ @DEFS@ -DGCORE=\"@GCORE@\"