diff --git a/recipes/susiex/build.sh b/recipes/susiex/build.sh index 898bc110c2397d..ec2dc8af4fee86 100644 --- a/recipes/susiex/build.sh +++ b/recipes/susiex/build.sh @@ -3,5 +3,4 @@ mkdir -p $PREFIX/bin cd src -make LDFLAGS="-L$PREFIX/lib -O3 -flto" cp ../bin/SuSiEx $PREFIX/bin/SuSiEx diff --git a/recipes/susiex/portable_makefile.patch b/recipes/susiex/portable_makefile.patch index ac1210ee54f16c..54f0877c3765bb 100644 --- a/recipes/susiex/portable_makefile.patch +++ b/recipes/susiex/portable_makefile.patch @@ -11,8 +11,8 @@ index 2f32523..a5057a8 100644 +UNAME_S := $(shell uname -s) + +ifeq ($(UNAME_S),Darwin) -+ CXXFLAGS+=-Xpreprocessor -fopenmp -+ LDLIBS+=-lomp ++ CXXFLAGS+=-fopenmp ++ LDLIBS+=-fopenmp +else + CXXFLAGS=-fopenmp + LDFLAGS+=-fopenmp