Summary: | rules.mk defeats CC for configure | ||
---|---|---|---|
Product: | Tomcat Native | Reporter: | Michael Osipov <michaelo> |
Component: | Library | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.2.10 | ||
Target Milestone: | --- | ||
Hardware: | HP | ||
OS: | HP-UX |
Description
Michael Osipov
2016-10-21 12:17:02 UTC
After further investigation this must be handled in Makefile.in. A simple fix: Index: Makefile.in =================================================================== --- Makefile.in (Revision 1766400) +++ Makefile.in (Arbeitskopie) @@ -21,6 +21,7 @@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ +CC_OLD = @CC@ # gets substituted into some targets TCNATIVE_MAJOR_VERSION=@TCNATIVE_MAJOR_VERSION@ @@ -47,6 +48,10 @@ @INCLUDE_RULES@ @INCLUDE_OUTPUTS@ +ifneq ($(CC_OLD),$(CC)) + CC=$(CC_OLD) +endif + LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(COMPILE) -version-info $(TCNATIVE_LIBTOOL_VERSION) $(ALL_LDFLAGS) -o $@ CLEAN_SUBDIRS = test Thanks for the patch. This has been fixed for 1.2.13 onwards. |