Opened 11 years ago
Closed 11 years ago
#413 closed bug (fixed)
Fix (a single) hardcoded 'g++' (in Singular 3-1-3-3)
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | major | Milestone: | 3-1-5 and higher |
Component: | factory | Version: | 3-1-3 |
Keywords: | CXX C++ compiler hard-coded | Cc: |
Description
In factory/GNUmakefile.in
, $(CXX)
should be used instead of g++
:
-
src/factory/GNUmakefile.in
799 799 # create cf_gmp.h 800 800 cf_gmp.h: GNUmakefile gen_cf_gmp.template 801 801 echo "#!/bin/sh" >gen_cf_gmp.sh 802 echo "GMP_H_T=\"` g++$(LIBCXXFLAGS) -M gen_cf_gmp.cc|grep gmp.h` \"" >>gen_cf_gmp.sh802 echo "GMP_H_T=\"`$(CXX) $(LIBCXXFLAGS) -M gen_cf_gmp.cc|grep gmp.h` \"" >>gen_cf_gmp.sh 803 803 cat gen_cf_gmp.template >>gen_cf_gmp.sh 804 804 $(SHELL) gen_cf_gmp.sh
(I've omitted the first two hunks fixing typos.)
Cf. Sage trac ticket #12680; there's also a separate upstream patch attached (which fixes two typos in that file as well).
MfG,
-leif
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Patch against Singular 3-1-3-3, patching file
factory/GNUmakefile.in