mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
* Makefile.common: Define MINGW_LDFLAGS.
* configure.in: Reorder SUBDIRS to have mingw before cygwin. * configure: Regenerate from configure.in. * cygwin/Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.
This commit is contained in:
parent
a6af7dbdc3
commit
24f7d30fa9
@ -1,3 +1,9 @@
|
||||
2002-12-12 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* Makefile.common: Define MINGW_LDFLAGS.
|
||||
* configure.in: Reorder SUBDIRS to have mingw before cygwin.
|
||||
* configure: Regenerate from configure.in.
|
||||
|
||||
2002-09-27 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* Makefile.in (check): Be more defensive when creating testsuite
|
||||
|
@ -91,6 +91,7 @@ endif
|
||||
MINGW_INCLUDES:=-I$(updir)/mingw/include $(w32api_include)
|
||||
MINGW_CFLAGS:=-mno-cygwin $(MINGW_INCLUDES)
|
||||
MINGW_CXXFLAGS:=${filter-out $(newlib_source)/%,$(CXXFLAGS)} -mno-cygwin $(MINGW_INCLUDES)
|
||||
MINGW_LDFLAGS:=-B${mingw_build}
|
||||
|
||||
GCC_DEFAULT_OPTIONS:=$(CFLAGS_COMMON) $(CFLAGS_CONFIG) $(INCLUDES)
|
||||
|
||||
|
2
winsup/configure
vendored
2
winsup/configure
vendored
@ -917,13 +917,13 @@ CXXFLAGS='$(CFLAGS)'
|
||||
|
||||
|
||||
SUBDIRS='cygwin'
|
||||
test -d $srcdir/mingw && SUBDIRS="mingw $SUBDIRS"
|
||||
if test -d $srcdir/w32api; then
|
||||
SUBDIRS="w32api $SUBDIRS"
|
||||
else
|
||||
echo "*** missing w32api directory" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
test -d $srcdir/mingw && SUBDIRS="$SUBDIRS mingw"
|
||||
|
||||
case "$with_cross_host" in
|
||||
""|*cygwin*)
|
||||
|
@ -67,13 +67,13 @@ LIB_AC_PROG_CC
|
||||
LIB_AC_PROG_CXX
|
||||
|
||||
SUBDIRS='cygwin'
|
||||
test -d $srcdir/mingw && SUBDIRS="mingw $SUBDIRS"
|
||||
if test -d $srcdir/w32api; then
|
||||
SUBDIRS="w32api $SUBDIRS"
|
||||
else
|
||||
echo "*** missing w32api directory" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
test -d $srcdir/mingw && SUBDIRS="$SUBDIRS mingw"
|
||||
|
||||
case "$with_cross_host" in
|
||||
""|*cygwin*)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2002-12-12 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.
|
||||
|
||||
2002-12-10 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygthread.h (cygthread::stack_ptr): New element.
|
||||
|
@ -325,7 +325,7 @@ cygrun.o: cygrun.c
|
||||
|
||||
cygrun.exe : cygrun.o -lgcc $(w32api_lib)/libuser32.a \
|
||||
$(w32api_lib)/libshell32.a $(w32api_lib)/libkernel32.a
|
||||
$(CC) -mno-cygwin -o $@ $^
|
||||
$(CC) ${MINGW_LDFLAGS} -mno-cygwin -o $@ $^
|
||||
|
||||
cygserver_transport_outside.o: cygserver_transport.cc
|
||||
$(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $<
|
||||
|
Loading…
x
Reference in New Issue
Block a user