From 3443e5f65298cb5c94840a839ac911a24408161c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 4 Sep 2000 19:04:53 +0000 Subject: [PATCH] Patch by Egor Duda : * Makefile.in: Always add libltp headers directory to headers search path. --- winsup/testsuite/ChangeLog | 5 +++++ winsup/testsuite/Makefile.in | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/winsup/testsuite/ChangeLog b/winsup/testsuite/ChangeLog index 569fdf2a5..219b5bccb 100644 --- a/winsup/testsuite/ChangeLog +++ b/winsup/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-09-04 Egor Duda + + * Makefile.in: Always add libltp headers directory to headers + search path. + 2000-09-02 Egor Duda * moved here everything from cygwin/testsuite/ diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in index 98373ff81..5e523d9eb 100644 --- a/winsup/testsuite/Makefile.in +++ b/winsup/testsuite/Makefile.in @@ -50,7 +50,12 @@ INSTALL_PROGRAM:=@INSTALL_PROGRAM@ CC:=@CC@ # FIXME: Which is it, CC or CC_FOR_TARGET? CC_FOR_TARGET:=$(CC) -CFLAGS:=@CFLAGS@ -MD -Wno-write-strings $(TESTSUP_INCLUDES) +#CFLAGS:=@CFLAGS@ -MD -Wno-write-strings $(TESTSUP_INCLUDES) +ifneq (,$(CFLAGS)) + override CFLAGS+= -MD $(TESTSUP_INCLUDES) +else + CFLAGS:=@CFLAGS@ -MD $(TESTSUP_INCLUDES) +endif CXXFLAGS:=@CXXFLAGS@ AR:=@AR@ -- 2.43.5