2000-08-29 Norbert Warmuth <nwarmuth@privat.circular.de>

* Makefile.in (CFLAGS): -I$(rootdir)/src removed from CFLAGS -- it
breaks compilation on glibc2.1 systems because glibc includes
src/features.h instead of it's own features.h. Run `make
cleansourcelinks; make sourcelinks' in case mc doesn't find it's
include files.
This commit is contained in:
Norbert Warmuth 2000-08-29 12:08:50 +00:00
parent 95b52b597c
commit 4651b23593
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2000-08-29 Norbert Warmuth <nwarmuth@privat.circular.de>
* Makefile.in (CFLAGS): -I$(rootdir)/src removed from CFLAGS -- it
breaks compilation on glibc2.1 systems because glibc includes
src/features.h instead of it's own features.h. Run `make
cleansourcelinks; make sourcelinks' in case mc doesn't find it's
include files.
2000-08-23 Pavel Roskin <proski@gnu.org>
* Makefile.in: don't do anything with *.inc - they are gone

View File

@ -5,7 +5,14 @@ rootdir = $(srcdir)/..
@MCFG@@MCF@
GNOMEDEFS = -DHAVE_X -DHAVE_GNOME @GNOME_INCLUDEDIR@
CFLAGS = -g $(XCFLAGS) @X_CFLAGS@ -I. -I$(rootdir)/src
#
# Warning: Don't add `-I$(rootdir)/src' to CFLAGS -- it breaks compilation
# on glibc2.1 systems because glibc includes src/features.h instead of it's
# own features.h. Run `make cleansourcelinks; make sourcelinks'/modify targets
# cleansourcelinks/sourclinks in case mc doesn't find it's include files.
#
CFLAGS = -g $(XCFLAGS) @X_CFLAGS@ -I.
CPPFLAGS = $(XCPPFLAGS) -I$(vfsdir) $(GNOMEDEFS)
LDFLAGS = $(XLDFLAGS) @GNOME_LIBDIR@ @GNOMEUI_LIBS@
CORBA_LDFLAGS = $(XLDFLAGS) @GNOME_LIBDIR@ @GNOMEGNORBA_LIBS@