From: maintenance team Date: Thu, 1 Mar 2007 15:30:29 +0000 (+0000) Subject: Adding compilation key -D_OCC64 X-Git-Tag: BEFORE_SERIES_4~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c068c3bec78b91691a695cf712c17047c830e31c;p=tools%2Finstall.git Adding compilation key -D_OCC64 --- diff --git a/config_files/patches/netgen-4.5-lib64.patch b/config_files/patches/netgen-4.5-lib64.patch index 1593971..211d3dc 100755 --- a/config_files/patches/netgen-4.5-lib64.patch +++ b/config_files/patches/netgen-4.5-lib64.patch @@ -6,7 +6,7 @@ diff -ur netgen-4.5.old/libsrc/makefile.inc netgen-4.5.new/libsrc/makefile.inc include $(LIBSRC_DIR)/makefile.mach.$(MACHINE) # -CPLUSPLUSFLAGS1 = -c -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) \ -+CPLUSPLUSFLAGS1 = -c -m64 -fPIC -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) \ ++CPLUSPLUSFLAGS1 = -c -m64 -D_OCC64 -fPIC -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) \ -DOCCGEOMETRY -DOCC52 -DHAVE_IOSTREAM -DHAVE_LIMITS_H # ARFLAGS = r @@ -39,7 +39,7 @@ diff -ur netgen-4.5.old/Makefile netgen-4.5.new/Makefile #CPLUSPLUSFLAGS1 = -c -I$(LIBSRC_DIR)/include -DOPENGL -CPLUSPLUSFLAGS1 = -c -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) -I./ngsolve/include -Ilibsrc/interface -DOPENGL -I$(METISINC) -+CPLUSPLUSFLAGS1 = -c -m64 -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) -I./ngsolve/include -Ilibsrc/interface -I$(METISINC) ++CPLUSPLUSFLAGS1 = -c -m64 -D_OCC64 -I$(LIBSRC_DIR)/include -I$(OCCINC_DIR) -I./ngsolve/include -Ilibsrc/interface -I$(METISINC) LINKFLAGS1 = -lGL -lGLU -lX11 -lXext -lXmu #