Skip to content
Snippets Groups Projects
Commit 5454ba53 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

temporary fix for crash on old linux

parent ffb6c8f9
No related branches found
No related tags found
No related merge requests found
# $Id: Makefile,v 1.126 2001-08-13 07:53:30 geuzaine Exp $ # $Id: Makefile,v 1.127 2001-08-13 14:51:12 geuzaine Exp $
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Makefile for Gmsh # Makefile for Gmsh
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
...@@ -416,9 +416,6 @@ motif_link_hp: ...@@ -416,9 +416,6 @@ motif_link_hp:
# Ready to compile for some platforms with FLTK # Ready to compile for some platforms with FLTK
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Warning: -O3 is known to produce incorrect code with gcc-2.95.2 on
# linux. Let's stick to -O2 for all public releases...
fltk_compile_little_endian: fltk_compile_little_endian:
@for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \ @for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \
"CC=$(CC)" \ "CC=$(CC)" \
...@@ -429,15 +426,26 @@ fltk_compile_little_endian: ...@@ -429,15 +426,26 @@ fltk_compile_little_endian:
"GUI_INCLUDE=$(FLTK_INC)" \ "GUI_INCLUDE=$(FLTK_INC)" \
); done ); done
# optimized gcc fucks up with 3D_Extrude on old linux boxes...
fltk_compile_little_endian_2952: fltk_compile_little_endian_2952:
@for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \ @for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \
"CC=$(HOME)/gcc-2.95.2/bin/g++" \ "CC=$(HOME)/gcc-2.95.3/bin/g++" \
"C_FLAGS=-O2" \ "C_FLAGS=-O2" \
"OS_FLAGS=-D_LITTLE_ENDIAN" \ "OS_FLAGS=-D_LITTLE_ENDIAN" \
"VERSION_FLAGS=-D_FLTK" \ "VERSION_FLAGS=-D_FLTK" \
"GL_INCLUDE=$(OPENGL_INC)" \ "GL_INCLUDE=$(OPENGL_INC)" \
"GUI_INCLUDE=$(FLTK_INC)" \ "GUI_INCLUDE=$(FLTK_INC)" \
); done ); done
rm -f Mesh/3D_Extrude.o
@for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \
"CC=$(HOME)/gcc-2.95.3/bin/g++" \
"C_FLAGS=-O0" \
"OS_FLAGS=-D_LITTLE_ENDIAN" \
"VERSION_FLAGS=-D_FLTK" \
"GL_INCLUDE=$(OPENGL_INC)" \
"GUI_INCLUDE=$(FLTK_INC)" \
); done
fltk_compile_big_endian: fltk_compile_big_endian:
@for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \ @for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment