From 91fb99fe5a55525379548a7135bf4d6507fcc3eb Mon Sep 17 00:00:00 2001 From: egluckthaler Date: Sun, 17 Dec 2023 21:48:44 -0600 Subject: [PATCH] update Makefile with CC flags --- CNEFinder/Makefile | 2 -- build.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CNEFinder/Makefile b/CNEFinder/Makefile index e3e4c253..18e98b34 100644 --- a/CNEFinder/Makefile +++ b/CNEFinder/Makefile @@ -1,7 +1,5 @@ MF= Makefile -CC= x86_64-conda-linux-gnu-g++ - CFLAGS= -g -fopenmp -D_USE_OMP -msse4.2 -O3 -fomit-frame-pointer -funroll-loops LFLAGS= -std=c++11 -I ./ diff --git a/build.sh b/build.sh index fd8ed0b7..ba152f1e 100644 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ # compile CNEFinder cd $SRC_DIR/CNEFinder/ ./pre-install.sh -make -f Makefile +make -f Makefile CC=$PREFIX/bin/x86_64-conda-linux-gnu-gcc CXX=$PREFIX/bin/x86_64-conda-linux-gnu-g++ mv cnef ../bin/ # copy git directory structure to conda package location