Subject: gcc wrong hard coded path
Description: remove path for gcc
Forwarded: yes
Author: Olivier Sallou <osallou@debian.org>
Last-Updated: 2013-02-09
--- a/sparsePregraph/Makefile
+++ b/sparsePregraph/Makefile
@@ -1,11 +1,11 @@
-CC=             /opt/blc/gcc-4.5.0/bin/gcc #gcc
+CC=             gcc #gcc
 CFLAGS=         -O4 -fomit-frame-pointer #-static #-mcrc32 -march=core2 -msse4.1 -msse4.2
 DFLAGS=         
 OBJS=		build_graph.o build_edge.o multi_threads.o \
 			build_preArc.o pregraph_sparse.o io_func.o\
 			global.o convert_soapdenovo.o
 PROG=           
-INCLUDES=	-I./inc
+INCLUDES=	 -I./inc
 SUBDIRS=    . 
 LIBPATH=	-L/usr/lib64
 LIBS=       -pthread -lz -lstdc++ -L./inc
--- a/standardPregraph/Makefile
+++ b/standardPregraph/Makefile
@@ -5,7 +5,7 @@
 #
 ###################################
 
-CC=             /opt/blc/gcc-4.5.0/bin/gcc #gcc
+CC=             gcc #gcc
 GCCVERSIONMAJOR := $(shell expr `$(CC) -dumpversion | cut -f1 -d.` \>= 4)
 GCCVERSIONMINOR := $(shell expr `$(CC) -dumpversion | cut -f2 -d.` \>= 4)
 CFLAGS=         -O4 -fomit-frame-pointer #-static #-mcrc32 -march=core2 -msse4.1 -msse4.2
@@ -78,8 +78,6 @@
 
 envTest:
 		@test $(BIT_ERR) != 1 || sh -c 'echo "Fatal: 64bit CPU and Operating System required!";false;'
-		@test $(GCCVERSIONMAJOR) == 1 || sh -c 'echo "GCC version lower than 4.4.0";false;'
-		@test $(GCCVERSIONMINOR) == 1 || sh -c 'echo "GCC version lower than 4.4.0";false;'
 
 SOAPdenovo:	envTest $(OBJS)
 		@printf "Linking...                                                \r"
