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:
parent
271aef82bd
commit
73a6ac1650
|
|
@ -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@\"
|
||||
|
|
|
|||
Loading…
Reference in New Issue