diff options
author | Christopher Faylor <me@cgf.cx> | 2002-01-21 21:35:55 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-01-21 21:35:55 +0000 |
commit | 2290b866373c35d61a14da48b215b188db89ba9e (patch) | |
tree | c1f783cc294e87be31bdfa9d8e338fdc8dde8349 /winsup | |
parent | 0ac2abea6c627105cd68783b294de629c588ee5f (diff) | |
download | cygnal-2290b866373c35d61a14da48b215b188db89ba9e.tar.gz cygnal-2290b866373c35d61a14da48b215b188db89ba9e.tar.bz2 cygnal-2290b866373c35d61a14da48b215b188db89ba9e.zip |
* Makefile.in: Use CXX instead of CC to compile C++ sources.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/utils/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/utils/Makefile.in | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 4dc21dcd6..8c46c4f12 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2002-01-21 DJ Delorie <dj@redhat.com> + + * Makefile.in: Use CXX instead of CC to compile C++ sources. + 2002-01-17 DJ Delorie <dj@redhat.com> * cygcheck.cc (already_did): Avoid default constructors, which may diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index 629e23822..2a8e750ab 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -137,18 +137,18 @@ endif path.o: path.cc ifdef VERBOSE - ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< + ${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $< else - @echo $(CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) ... $^;\ - ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< + @echo $(CXX) $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) ... $^;\ + ${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $< endif dump_setup.o: dump_setup.cc ifdef VERBOSE - ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< + ${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $< else - @echo $(CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) ... $^;\ - ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< + @echo $(CXX) $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) ... $^;\ + ${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $< endif clean: |