* Makefile.in: Use MINGW_CXXFLAGS when compiling strace.

This commit is contained in:
Christopher Faylor 2000-03-15 14:38:09 +00:00
parent 332600d80c
commit 1b534ee1be
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Wed Mar 15 00:53:58 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in: Use MINGW_CXXFLAGS when compiling strace.
Sun Mar 12 21:22:25 2000 Christopher Faylor <cgf@cygnus.com>
* strace.cc: Throughout, track information like start_time, etc. on a

View File

@ -72,10 +72,10 @@ all: Makefile $(PROGS)
strace.exe: strace.cc mingw_getopt.o $(MINGW_LDLIBS)
ifdef VERBOSE
$(CC) $(MINGW_CFLAGS) -o $@ ${wordlist 1,2,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS)
$(CC) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,2,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS)
else
@echo $(CC) -mno-cygwin -o $@ ${wordlist 1,2,$^} ${filter-out -B%, $(MINGW_LDFLAGS)};\
$(CC) $(MINGW_CFLAGS) -o $@ ${wordlist 1,2,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS)
@echo $(CC) -mno-cygwin -o $@ ${wordlist 1,2,$^} ${filter-out -B%, $(MINGW_CXXFLAGS) $(MINGW_LDFLAGS)};\
$(CC) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,2,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS)
endif
mingw_getopt.o: $(cygwin_source)/getopt.c