* Makefile.common (w32api_lib): Default to system w32api directory if w32api is
missing from source.
This commit is contained in:
parent
259db89238
commit
eeb65b9513
winsup
@ -1,3 +1,8 @@
|
|||||||
|
2003-03-17 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* Makefile.common (w32api_lib): Default to system w32api directory if
|
||||||
|
w32api is missing from source.
|
||||||
|
|
||||||
2003-03-17 Christopher Faylor <cgf@redhat.com>
|
2003-03-17 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* Makefile.common: Fix typo from previous checkin.
|
* Makefile.common: Fix typo from previous checkin.
|
||||||
|
@ -119,6 +119,9 @@ GCC_INCLUDE:=${subst //,/,-I$(gcc_libdir)/include}
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
nostdinc:=${shell [ -d "$(updir)/w32api" ] && echo "-nostdinc -nostdinc++"}
|
nostdinc:=${shell [ -d "$(updir)/w32api" ] && echo "-nostdinc -nostdinc++"}
|
||||||
|
ifeq (,$(nostdinc))
|
||||||
|
override w32api_lib:=${subst //,/,${shell $(CC) -print-search-dirs | awk -F: '/^librar/{for (i = 1; i <= NF; i++) if ($$i ~ /\/lib\/*$$/) print $$i}'}/w32api}
|
||||||
|
endif
|
||||||
|
|
||||||
COMPILE_CXX=$(CXX) $c $(nostdinc) $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
|
COMPILE_CXX=$(CXX) $c $(nostdinc) $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
|
||||||
-fno-rtti -fno-exceptions
|
-fno-rtti -fno-exceptions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user