mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* Makefile.in: Use -static-libgcc when creating cygserver.exe.
This commit is contained in:
parent
0cc8da6c26
commit
029d147e94
@ -1,3 +1,7 @@
|
||||
2008-10-30 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* Makefile.in: Use -static-libgcc when creating cygserver.exe.
|
||||
|
||||
2008-04-30 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* sysv_msg.cc: Add fix from upstream version 1.65.
|
||||
|
@ -11,12 +11,13 @@ SHELL:=@SHELL@
|
||||
|
||||
srcdir:=@srcdir@
|
||||
VPATH:=@srcdir@
|
||||
prefix:=@prefix@
|
||||
exec_prefix:=@exec_prefix@
|
||||
|
||||
bindir:=@bindir@
|
||||
sbindir:=@sbindir@
|
||||
sysconfdir:=@sysconfdir@
|
||||
DESTDIR=
|
||||
prefix:=${DESTDIR}@prefix@
|
||||
exec_prefix:=${DESTDIR}@exec_prefix@
|
||||
bindir:=${DESTDIR}@bindir@
|
||||
sbindir:=${DESTDIR}@sbindir@
|
||||
sysconfdir:=${DESTDIR}@sysconfdir@
|
||||
program_transform_name:=@program_transform_name@
|
||||
|
||||
INSTALL:=@INSTALL@
|
||||
@ -68,7 +69,7 @@ libclean:
|
||||
fullclean: clean libclean
|
||||
|
||||
cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS)
|
||||
$(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build) -lntdll
|
||||
$(CXX) -o $@ ${wordlist 2,999,$^} -static-libgcc -L$(cygwin_build) -lntdll
|
||||
|
||||
$(cygwin_build)/%.o: $(cygwin_source)/%.cc
|
||||
@$(MAKE) -C $(@D) $(@F)
|
||||
@ -79,7 +80,7 @@ $(cygwin_build)/%.o: $(cygwin_source)/%.c
|
||||
Makefile: Makefile.in configure
|
||||
|
||||
lib%.o: %.cc
|
||||
${filter-out -D__OUTSIDE_CYGWIN__, $(COMPILE_CXX)} -I$(updir)/cygwin -o $(@D)/${basename $(@F)}$o $<
|
||||
${filter-out -D__OUTSIDE_CYGWIN__, $(COMPILE_CXX)} -c -I$(updir)/cygwin -o $(@D)/${basename $(@F)}$o $<
|
||||
|
||||
libcygserver.a: $(LIBOBJS)
|
||||
$(AR) crus $@ $?
|
||||
|
Loading…
x
Reference in New Issue
Block a user