#19641: Remove (DY)LD_LIBRARY_PATH
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  new
       Priority:  major              |    Milestone:  sage-6.10
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/remove_ld_library_path    |  22def303579cd309528298e592f4e0994c6b1fad
   Dependencies:  #19640             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by fbissey):

 Fixing `flintqs` should be trivial, there is one makefile for `SAGE64` and
 one used otherwise - and for the record that's the diff between the two
 {{{
 --- makefile.osx64      2009-01-21 03:11:18.000000000 +1300
 +++ makefile.sage       2007-05-06 11:00:10.000000000 +1200
 @@ -27,8 +27,8 @@
  BIN  = QuadraticSieve QuadraticSieve.exe
  #CXXFLAGS = $(CXXINCS) -Wall -Wno-sign-compare -march=athlon-xp -fomit-
 frame-pointer -O2
  #CXXFLAGS2 = $(CXXINCS) -Wall -Wno-sign-compare -march=athlon-xp -fomit-
 frame-pointer -O3
 -CXXFLAGS = $(CXXINCS) -Wall -Wno-sign-compare -fomit-frame-pointer -O2
 -m64
 -CXXFLAGS2 = $(CXXINCS) -Wall -Wno-sign-compare -fomit-frame-pointer -O3
 -m64
 +CXXFLAGS = $(CXXINCS) -Wall -Wno-sign-compare -fomit-frame-pointer -O2
 +CXXFLAGS2 = $(CXXINCS) -Wall -Wno-sign-compare -fomit-frame-pointer -O3
  RM = rm -f

  .PHONY: all clean clean-custom
 @@ -39,7 +39,7 @@
         ${RM} $(OBJ) $(BIN)

  $(BIN): $(OBJ)
 -       $(CPP) -ansi -m64 $(LINKOBJ) -o "QuadraticSieve" $(LIBS)
 +       $(CPP) -ansi $(LINKOBJ) -o "QuadraticSieve" $(LIBS)

  ModuloArith.o: ModuloArith.cpp
         $(CPP) -ansi -c ModuloArith.cpp -o ModuloArith.o $(CXXFLAGS)
 }}}
 Anyway `$(LDFLAGS)` can be easily added to the line building
 `QuadraticSieve` in both (if really necessary).

--
Ticket URL: <http://trac.sagemath.org/ticket/19641#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to