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: not.really@… 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

     
    799799# create cf_gmp.h
    800800cf_gmp.h: GNUmakefile gen_cf_gmp.template
    801801       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.sh
     802       echo "GMP_H_T=\"`$(CXX) $(LIBCXXFLAGS) -M gen_cf_gmp.cc|grep gmp.h` \"" >>gen_cf_gmp.sh
    803803       cat gen_cf_gmp.template >>gen_cf_gmp.sh
    804804       $(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)

factory.GNUmakefile.in.patch (1.0 KB) - added by not.really@… 11 years ago.
Patch against Singular 3-1-3-3, patching file factory/GNUmakefile.in

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by not.really@…

Patch against Singular 3-1-3-3, patching file factory/GNUmakefile.in

comment:1 Changed 11 years ago by barakat

Resolution: fixed
Status: newclosed

Martin fixed it already

Note: See TracTickets for help on using tickets.